Add AnyAPI provider with 30 models

Adds AnyAPI (https://anyapi.ai) as a new provider. Models reuse existing
canonical entries through `extends`. Cost fields are omitted as AnyAPI uses
a credit-based pricing system. Validated locally with `bun validate`.

Models (30):
- openai: gpt-5.4, gpt-5.2, gpt-5.1, gpt-5, gpt-5-mini, gpt-4.1, gpt-4.1-mini, o4-mini, o3, o3-mini
- anthropic: claude-opus-4-7, claude-opus-4-6, claude-sonnet-4-6, claude-sonnet-4-5, claude-haiku-4-5
- google: gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite, gemini-3-pro-preview, gemini-3-flash-preview
- deepseek: deepseek-v4-pro, deepseek-v4-flash, deepseek-chat, deepseek-r1
- mistralai: mistral-large-2512, devstral-2512
- perplexity: sonar-pro, sonar-reasoning-pro
- cohere: command-r-plus-08-2024
- xai: grok-4.3
This commit is contained in:
Christina
2026-06-01 17:14:24 +02:00
parent b24b44ca0a
commit 3b55102a45
32 changed files with 98 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 44 40" fill="currentColor">
<path d="M30.4629 10.9775L0 39.6572L23.877 0L30.4629 10.9775ZM30.5039 19.8975C32.2655 19.8976 33.8971 20.8245 34.7988 22.3379L43.0703 36.2217C43.8645 37.5548 42.9033 39.2451 41.3516 39.2451H35.3623C33.6007 39.245 31.9691 38.3181 31.0674 36.8047L20.9951 19.8975H30.5039Z"/>
</svg>

After

Width:  |  Height:  |  Size: 374 B

@@ -0,0 +1,3 @@
[extends]
from = "anthropic/claude-haiku-4-5"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "anthropic/claude-opus-4-6"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "anthropic/claude-opus-4-7"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "anthropic/claude-sonnet-4-5"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "anthropic/claude-sonnet-4-6"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "cohere/command-r-plus-08-2024"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "deepseek/deepseek-chat"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "deepseek/deepseek-reasoner"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "deepseek/deepseek-v4-flash"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "deepseek/deepseek-v4-pro"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "google/gemini-2.5-flash-lite"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "google/gemini-2.5-flash"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "google/gemini-2.5-pro"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "google/gemini-3-flash-preview"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "google/gemini-3-pro-preview"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "mistral/devstral-2512"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "mistral/mistral-large-2512"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-4.1-mini"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-4.1"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-5-mini"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-5.1"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-5.2"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-5.4"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/gpt-5"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/o3-mini"
omit = ["cost"]
+3
View File
@@ -0,0 +1,3 @@
[extends]
from = "openai/o3"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "openai/o4-mini"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "perplexity/sonar-pro"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "perplexity/sonar-reasoning-pro"
omit = ["cost"]
@@ -0,0 +1,3 @@
[extends]
from = "xai/grok-4.3"
omit = ["cost"]
+5
View File
@@ -0,0 +1,5 @@
name = "AnyAPI"
npm = "@ai-sdk/openai-compatible"
env = ["ANYAPI_API_KEY"]
api = "https://api.anyapi.ai/v1"
doc = "https://docs.anyapi.ai"