diff --git a/packages/ai/README.md b/packages/ai/README.md index a238d7cd..7107fe95 100644 --- a/packages/ai/README.md +++ b/packages/ai/README.md @@ -16,9 +16,9 @@ import { OpenAICompletionsLLM } from '@mariozechner/ai/providers/openai-completi import { GeminiLLM } from '@mariozechner/ai/providers/gemini'; // Pick your provider - same API for all -const llm = new AnthropicLLM('claude-3-5-sonnet-20241022'); -// const llm = new OpenAICompletionsLLM('gpt-4o'); -// const llm = new GeminiLLM('gemini-2.0-flash-exp'); +const llm = new AnthropicLLM('claude-sonnet-4-0'); +// const llm = new OpenAICompletionsLLM('gpt-5-mini'); +// const llm = new GeminiLLM('gemini-2.5-flash'); // Basic completion const response = await llm.complete({ diff --git a/packages/ai/package.json b/packages/ai/package.json index f2ab15da..64ede37d 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -11,10 +11,11 @@ ], "scripts": { "clean": "rm -rf dist", - "build": "tsc -p tsconfig.build.json", + "models": "curl -s https://models.dev/api.json -o src/models.json", + "build": "tsc -p tsconfig.build.json && cp src/models.json dist/models.json", "check": "biome check --write .", "test": "npx tsx --test test/providers.test.ts", - "prepublishOnly": "npm run clean && npm run build" + "prepublishOnly": "npm run clean && npm run models && npm run build" }, "dependencies": { "@anthropic-ai/sdk": "^0.60.0", diff --git a/packages/ai/src/index.ts b/packages/ai/src/index.ts index 46691ff0..e98666cd 100644 --- a/packages/ai/src/index.ts +++ b/packages/ai/src/index.ts @@ -1,5 +1,26 @@ // @mariozechner/ai - Unified API for OpenAI, Anthropic, and Google Gemini // This package provides a common interface for working with multiple LLM providers -// TODO: Export types and implementations once defined export const version = "0.5.8"; + +// Export models utilities +export { + getAllProviders, + getModelInfo, + getProviderInfo, + getProviderModels, + loadModels, + type ModelInfo, + type ModelsData, + type ProviderInfo, + supportsThinking, + supportsTools, +} from "./models.js"; + +// Export providers +export { AnthropicLLM } from "./providers/anthropic.js"; +export { GeminiLLM } from "./providers/gemini.js"; +export { OpenAICompletionsLLM } from "./providers/openai-completions.js"; +export { OpenAIResponsesLLM } from "./providers/openai-responses.js"; +// Export types +export type * from "./types.js"; diff --git a/packages/ai/src/models.json b/packages/ai/src/models.json new file mode 100644 index 00000000..a5fdd4d8 --- /dev/null +++ b/packages/ai/src/models.json @@ -0,0 +1,8314 @@ +{ + "xai": { + "id": "xai", + "env": ["XAI_API_KEY"], + "npm": "@ai-sdk/xai", + "name": "xAI", + "doc": "https://docs.x.ai/docs/models", + "models": { + "grok-3-mini-latest": { + "id": "grok-3-mini-latest", + "name": "Grok 3 Mini Latest", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 0.5, "cache_read": 0.075, "cache_write": 0.5 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-2-vision-latest": { + "id": "grok-2-vision-latest", + "name": "Grok 2 Vision Latest", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-12-12", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 8192, "output": 4096 } + }, + "grok-2-vision": { + "id": "grok-2-vision", + "name": "Grok 2 Vision", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 8192, "output": 4096 } + }, + "grok-2": { + "id": "grok-2", + "name": "Grok 2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-3-mini-fast": { + "id": "grok-3-mini-fast", + "name": "Grok 3 Mini Fast", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.6, "output": 4, "cache_read": 0.15, "cache_write": 4 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-3-fast": { + "id": "grok-3-fast", + "name": "Grok 3 Fast", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 5, "output": 25, "cache_read": 1.25, "cache_write": 25 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-2-vision-1212": { + "id": "grok-2-vision-1212", + "name": "Grok 2 Vision (1212)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-12-12", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 8192, "output": 4096 } + }, + "grok-3-fast-latest": { + "id": "grok-3-fast-latest", + "name": "Grok 3 Fast Latest", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 5, "output": 25, "cache_read": 1.25, "cache_write": 25 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-3-mini": { + "id": "grok-3-mini", + "name": "Grok 3 Mini", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 0.5, "cache_read": 0.075, "cache_write": 0.5 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-2-latest": { + "id": "grok-2-latest", + "name": "Grok 2 Latest", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-12-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-beta": { + "id": "grok-beta", + "name": "Grok Beta", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-11-01", + "last_updated": "2024-11-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 5, "output": 15, "cache_read": 5, "cache_write": 15 }, + "limit": { "context": 131072, "output": 4096 } + }, + "grok-vision-beta": { + "id": "grok-vision-beta", + "name": "Grok Vision Beta", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-11-01", + "last_updated": "2024-11-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 5, "output": 15, "cache_read": 5, "cache_write": 15 }, + "limit": { "context": 8192, "output": 4096 } + }, + "grok-3-mini-fast-latest": { + "id": "grok-3-mini-fast-latest", + "name": "Grok 3 Mini Fast Latest", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.6, "output": 4, "cache_read": 0.15, "cache_write": 4 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-2-1212": { + "id": "grok-2-1212", + "name": "Grok 2 (1212)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-12-12", + "last_updated": "2024-12-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-3": { + "id": "grok-3", + "name": "Grok 3", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-3-latest": { + "id": "grok-3-latest", + "name": "Grok 3 Latest", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 131072, "output": 8192 } + }, + "grok-4": { + "id": "grok-4", + "name": "Grok 4", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-07-09", + "last_updated": "2025-07-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 256000, "output": 64000 } + } + } + }, + "google-vertex-anthropic": { + "id": "google-vertex-anthropic", + "env": ["GOOGLE_VERTEX_PROJECT", "GOOGLE_VERTEX_LOCATION", "GOOGLE_APPLICATION_CREDENTIALS"], + "npm": "@ai-sdk/google-vertex", + "name": "Vertex", + "doc": "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude", + "models": { + "claude-opus-4@20250514": { + "id": "claude-opus-4@20250514", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "claude-sonnet-4@20250514": { + "id": "claude-sonnet-4@20250514", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "claude-3-5-haiku@20241022": { + "id": "claude-3-5-haiku@20241022", + "name": "Claude Haiku 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07-31", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 4, "cache_read": 0.08, "cache_write": 1 }, + "limit": { "context": 200000, "output": 8192 } + }, + "claude-3-7-sonnet@20250219": { + "id": "claude-3-7-sonnet@20250219", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10-31", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "claude-opus-4-1@20250805": { + "id": "claude-opus-4-1@20250805", + "name": "Claude Opus 4.1", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "claude-3-5-sonnet@20241022": { + "id": "claude-3-5-sonnet@20241022", + "name": "Claude Sonnet 3.5 v2", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04-30", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + } + } + }, + "llama": { + "id": "llama", + "env": ["LLAMA_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.llama.com/compat/v1/", + "name": "Llama", + "doc": "https://llama.developer.meta.com/docs/models", + "models": { + "llama-4-maverick-17b-128e-instruct-fp8": { + "id": "llama-4-maverick-17b-128e-instruct-fp8", + "name": "Llama-4-Maverick-17B-128E-Instruct-FP8", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "llama-4-scout-17b-16e-instruct-fp8": { + "id": "llama-4-scout-17b-16e-instruct-fp8", + "name": "Llama-4-Scout-17B-16E-Instruct-FP8", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cerebras-llama-4-maverick-17b-128e-instruct": { + "id": "cerebras-llama-4-maverick-17b-128e-instruct", + "name": "Cerebras-Llama-4-Maverick-17B-128E-Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cerebras-llama-4-scout-17b-16e-instruct": { + "id": "cerebras-llama-4-scout-17b-16e-instruct", + "name": "Cerebras-Llama-4-Scout-17B-16E-Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "llama-3.3-8b-instruct": { + "id": "llama-3.3-8b-instruct", + "name": "Llama-3.3-8B-Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "llama-3.3-70b-instruct": { + "id": "llama-3.3-70b-instruct", + "name": "Llama-3.3-70B-Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "groq-llama-4-maverick-17b-128e-instruct": { + "id": "groq-llama-4-maverick-17b-128e-instruct", + "name": "Groq-Llama-4-Maverick-17B-128E-Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + } + } + }, + "github-models": { + "id": "github-models", + "env": ["GITHUB_TOKEN"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://models.github.ai/inference", + "name": "GitHub Models", + "doc": "https://docs.github.com/en/github-models", + "models": { + "xai/grok-3-mini": { + "id": "xai/grok-3-mini", + "name": "Grok 3 Mini", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-09", + "last_updated": "2024-12-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "xai/grok-3": { + "id": "xai/grok-3", + "name": "Grok 3", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-09", + "last_updated": "2024-12-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "openai/o1-preview": { + "id": "openai/o1-preview", + "name": "OpenAI o1-preview", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2024-09-12", + "last_updated": "2024-09-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "openai/gpt-4.1-nano": { + "id": "openai/gpt-4.1-nano", + "name": "GPT-4.1-nano", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4o-mini": { + "id": "openai/gpt-4o-mini", + "name": "GPT-4o mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4.1": { + "id": "openai/gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/o1-mini": { + "id": "openai/o1-mini", + "name": "OpenAI o1-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2024-09-12", + "last_updated": "2024-12-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 65536 } + }, + "openai/gpt-4o": { + "id": "openai/gpt-4o", + "name": "GPT-4o", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-05-13", + "last_updated": "2024-05-13", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4.1-mini": { + "id": "openai/gpt-4.1-mini", + "name": "GPT-4.1-mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/o3": { + "id": "openai/o3", + "name": "OpenAI o3", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2024-04", + "release_date": "2025-01-31", + "last_updated": "2025-01-31", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/o1": { + "id": "openai/o1", + "name": "OpenAI o1", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2024-09-12", + "last_updated": "2024-12-17", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/o3-mini": { + "id": "openai/o3-mini", + "name": "OpenAI o3-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2024-04", + "release_date": "2025-01-31", + "last_updated": "2025-01-31", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/o4-mini": { + "id": "openai/o4-mini", + "name": "OpenAI o4-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2024-04", + "release_date": "2025-01-31", + "last_updated": "2025-01-31", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 200000, "output": 100000 } + }, + "mistral-ai/mistral-small-2503": { + "id": "mistral-ai/mistral-small-2503", + "name": "Mistral Small 3.1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2025-03-01", + "last_updated": "2025-03-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "mistral-ai/mistral-large-2411": { + "id": "mistral-ai/mistral-large-2411", + "name": "Mistral Large 24.11", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2024-11-01", + "last_updated": "2024-11-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "mistral-ai/ministral-3b": { + "id": "mistral-ai/ministral-3b", + "name": "Ministral 3B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "mistral-ai/mistral-medium-2505": { + "id": "mistral-ai/mistral-medium-2505", + "name": "Mistral Medium 3 (25.05)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2025-05-01", + "last_updated": "2025-05-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "mistral-ai/mistral-nemo": { + "id": "mistral-ai/mistral-nemo", + "name": "Mistral Nemo", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "mistral-ai/codestral-2501": { + "id": "mistral-ai/codestral-2501", + "name": "Codestral 25.01", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32000, "output": 8192 } + }, + "core42/jais-30b-chat": { + "id": "core42/jais-30b-chat", + "name": "JAIS 30b Chat", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-03", + "release_date": "2023-08-30", + "last_updated": "2023-08-30", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 2048 } + }, + "cohere/cohere-command-r-plus": { + "id": "cohere/cohere-command-r-plus", + "name": "Cohere Command R+", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-04-04", + "last_updated": "2024-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cohere/cohere-command-a": { + "id": "cohere/cohere-command-a", + "name": "Cohere Command A", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-11-01", + "last_updated": "2024-11-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cohere/cohere-command-r-plus-08-2024": { + "id": "cohere/cohere-command-r-plus-08-2024", + "name": "Cohere Command R+ 08-2024", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-08-01", + "last_updated": "2024-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cohere/cohere-command-r": { + "id": "cohere/cohere-command-r", + "name": "Cohere Command R", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-03-11", + "last_updated": "2024-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cohere/cohere-command-r-08-2024": { + "id": "cohere/cohere-command-r-08-2024", + "name": "Cohere Command R 08-2024", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-08-01", + "last_updated": "2024-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "deepseek/deepseek-v3-0324": { + "id": "deepseek/deepseek-v3-0324", + "name": "DeepSeek-V3-0324", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-03-24", + "last_updated": "2025-03-24", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "deepseek/deepseek-r1-0528": { + "id": "deepseek/deepseek-r1-0528", + "name": "DeepSeek-R1-0528", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-05-28", + "last_updated": "2025-05-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 65536, "output": 8192 } + }, + "deepseek/deepseek-r1": { + "id": "deepseek/deepseek-r1", + "name": "DeepSeek-R1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-01-20", + "last_updated": "2025-01-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 65536, "output": 8192 } + }, + "ai21-labs/ai21-jamba-1.5-large": { + "id": "ai21-labs/ai21-jamba-1.5-large", + "name": "AI21 Jamba 1.5 Large", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-08-29", + "last_updated": "2024-08-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 256000, "output": 4096 } + }, + "ai21-labs/ai21-jamba-1.5-mini": { + "id": "ai21-labs/ai21-jamba-1.5-mini", + "name": "AI21 Jamba 1.5 Mini", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-03", + "release_date": "2024-08-29", + "last_updated": "2024-08-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 256000, "output": 4096 } + }, + "meta/llama-3.2-90b-vision-instruct": { + "id": "meta/llama-3.2-90b-vision-instruct", + "name": "Llama-3.2-90B-Vision-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "meta/meta-llama-3-8b-instruct": { + "id": "meta/meta-llama-3-8b-instruct", + "name": "Meta-Llama-3-8B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-04-18", + "last_updated": "2024-04-18", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 2048 } + }, + "meta/llama-4-maverick-17b-128e-instruct-fp8": { + "id": "meta/llama-4-maverick-17b-128e-instruct-fp8", + "name": "Llama 4 Maverick 17B 128E Instruct FP8", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-31", + "last_updated": "2025-01-31", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "meta/meta-llama-3-70b-instruct": { + "id": "meta/meta-llama-3-70b-instruct", + "name": "Meta-Llama-3-70B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-04-18", + "last_updated": "2024-04-18", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 2048 } + }, + "meta/meta-llama-3.1-405b-instruct": { + "id": "meta/meta-llama-3.1-405b-instruct", + "name": "Meta-Llama-3.1-405B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "meta/meta-llama-3.1-8b-instruct": { + "id": "meta/meta-llama-3.1-8b-instruct", + "name": "Meta-Llama-3.1-8B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "meta/meta-llama-3.1-70b-instruct": { + "id": "meta/meta-llama-3.1-70b-instruct", + "name": "Meta-Llama-3.1-70B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "meta/llama-3.2-11b-vision-instruct": { + "id": "meta/llama-3.2-11b-vision-instruct", + "name": "Llama-3.2-11B-Vision-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "meta/llama-3.3-70b-instruct": { + "id": "meta/llama-3.3-70b-instruct", + "name": "Llama-3.3-70B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 32768 } + }, + "meta/llama-4-scout-17b-16e-instruct": { + "id": "meta/llama-4-scout-17b-16e-instruct", + "name": "Llama 4 Scout 17B 16E Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-31", + "last_updated": "2025-01-31", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "microsoft/phi-3-medium-128k-instruct": { + "id": "microsoft/phi-3-medium-128k-instruct", + "name": "Phi-3-medium instruct (128k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-04-23", + "last_updated": "2024-04-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/mai-ds-r1": { + "id": "microsoft/mai-ds-r1", + "name": "MAI-DS-R1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-01-20", + "last_updated": "2025-01-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 65536, "output": 8192 } + }, + "microsoft/phi-3.5-vision-instruct": { + "id": "microsoft/phi-3.5-vision-instruct", + "name": "Phi-3.5-vision instruct (128k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-4-reasoning": { + "id": "microsoft/phi-4-reasoning", + "name": "Phi-4-Reasoning", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-3-small-128k-instruct": { + "id": "microsoft/phi-3-small-128k-instruct", + "name": "Phi-3-small instruct (128k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-04-23", + "last_updated": "2024-04-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-3-small-8k-instruct": { + "id": "microsoft/phi-3-small-8k-instruct", + "name": "Phi-3-small instruct (8k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-04-23", + "last_updated": "2024-04-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 2048 } + }, + "microsoft/phi-4": { + "id": "microsoft/phi-4", + "name": "Phi-4", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 16000, "output": 4096 } + }, + "microsoft/phi-4-mini-reasoning": { + "id": "microsoft/phi-4-mini-reasoning", + "name": "Phi-4-mini-reasoning", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-4-mini-instruct": { + "id": "microsoft/phi-4-mini-instruct", + "name": "Phi-4-mini-instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-3.5-mini-instruct": { + "id": "microsoft/phi-3.5-mini-instruct", + "name": "Phi-3.5-mini instruct (128k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-4-multimodal-instruct": { + "id": "microsoft/phi-4-multimodal-instruct", + "name": "Phi-4-multimodal-instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-3-mini-128k-instruct": { + "id": "microsoft/phi-3-mini-128k-instruct", + "name": "Phi-3-mini instruct (128k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-04-23", + "last_updated": "2024-04-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "microsoft/phi-3-medium-4k-instruct": { + "id": "microsoft/phi-3-medium-4k-instruct", + "name": "Phi-3-medium instruct (4k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-04-23", + "last_updated": "2024-04-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 4096, "output": 1024 } + }, + "microsoft/phi-3-mini-4k-instruct": { + "id": "microsoft/phi-3-mini-4k-instruct", + "name": "Phi-3-mini instruct (4k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-04-23", + "last_updated": "2024-04-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 4096, "output": 1024 } + }, + "microsoft/phi-3.5-moe-instruct": { + "id": "microsoft/phi-3.5-moe-instruct", + "name": "Phi-3.5-MoE instruct (128k)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + } + } + }, + "deepinfra": { + "id": "deepinfra", + "env": ["DEEPINFRA_API_KEY"], + "npm": "@ai-sdk/deepinfra", + "name": "Deep Infra", + "doc": "https://deepinfra.com/models", + "models": { + "zai-org/GLM-4.5": { + "id": "zai-org/GLM-4.5", + "name": "GLM-4.5", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.2 }, + "limit": { "context": 131072, "output": 98304 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo", + "name": "Qwen3 Coder 480B A35B Instruct Turbo", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 1.2 }, + "limit": { "context": 262144, "output": 66536 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct", + "name": "Qwen3 Coder 480B A35B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.4, "output": 1.6 }, + "limit": { "context": 262144, "output": 66536 } + }, + "moonshotai/Kimi-K2-Instruct": { + "id": "moonshotai/Kimi-K2-Instruct", + "name": "Kimi K2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-11", + "last_updated": "2025-07-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 2 }, + "limit": { "context": 131072, "output": 32768 } + } + } + }, + "moonshotai-cn": { + "id": "moonshotai-cn", + "env": ["MOONSHOT_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.moonshot.cn/v1", + "name": "Moonshot AI (China)", + "doc": "https://platform.moonshot.cn/docs/api/chat", + "models": { + "kimi-k2-turbo-preview": { + "id": "kimi-k2-turbo-preview", + "name": "Kimi K2 Turbo", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2.4, "output": 10, "cache_read": 0.6 }, + "limit": { "context": 131072, "output": 16384 } + }, + "kimi-k2-0711-preview": { + "id": "kimi-k2-0711-preview", + "name": "Kimi K2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.5, "cache_read": 0.15 }, + "limit": { "context": 131072, "output": 16384 } + } + } + }, + "zai": { + "id": "zai", + "env": ["ZHIPU_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.z.ai/api/paas/v4", + "name": "Z.AI", + "doc": "https://docs.z.ai/guides/overview/pricing", + "models": { + "glm-4.5": { + "id": "glm-4.5", + "name": "GLM-4.5", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.2, "cache_read": 0.11, "cache_write": 0 }, + "limit": { "context": 131072, "output": 98304 } + }, + "glm-4.5-flash": { + "id": "glm-4.5-flash", + "name": "GLM-4.5-Flash", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0, "cache_read": 0, "cache_write": 0 }, + "limit": { "context": 131072, "output": 98304 } + }, + "glm-4.5v": { + "id": "glm-4.5v", + "name": "GLM 4.5V", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-08-11", + "last_updated": "2025-08-11", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 1.8 }, + "limit": { "context": 64000, "output": 16384 } + }, + "glm-4.5-air": { + "id": "glm-4.5-air", + "name": "GLM-4.5-Air", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 1.1, "cache_read": 0.03, "cache_write": 0 }, + "limit": { "context": 131072, "output": 98304 } + } + } + }, + "anthropic": { + "id": "anthropic", + "env": ["ANTHROPIC_API_KEY"], + "npm": "@ai-sdk/anthropic", + "name": "Anthropic", + "doc": "https://docs.anthropic.com/en/docs/about-claude/models", + "models": { + "claude-3-7-sonnet-20250219": { + "id": "claude-3-7-sonnet-20250219", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10-31", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "claude-3-5-haiku-20241022": { + "id": "claude-3-5-haiku-20241022", + "name": "Claude Haiku 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07-31", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 4, "cache_read": 0.08, "cache_write": 1 }, + "limit": { "context": 200000, "output": 8192 } + }, + "claude-3-opus-20240229": { + "id": "claude-3-opus-20240229", + "name": "Claude Opus 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08-31", + "release_date": "2024-02-29", + "last_updated": "2024-02-29", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 4096 } + }, + "claude-opus-4-20250514": { + "id": "claude-opus-4-20250514", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "claude-3-5-sonnet-20240620": { + "id": "claude-3-5-sonnet-20240620", + "name": "Claude Sonnet 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04-30", + "release_date": "2024-06-20", + "last_updated": "2024-06-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + }, + "claude-3-haiku-20240307": { + "id": "claude-3-haiku-20240307", + "name": "Claude Haiku 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08-31", + "release_date": "2024-03-13", + "last_updated": "2024-03-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 1.25, "cache_read": 0.03, "cache_write": 0.3 }, + "limit": { "context": 200000, "output": 4096 } + }, + "claude-sonnet-4-20250514": { + "id": "claude-sonnet-4-20250514", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "claude-3-sonnet-20240229": { + "id": "claude-3-sonnet-20240229", + "name": "Claude Sonnet 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08-31", + "release_date": "2024-03-04", + "last_updated": "2024-03-04", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 0.3 }, + "limit": { "context": 200000, "output": 4096 } + }, + "claude-3-5-sonnet-20241022": { + "id": "claude-3-5-sonnet-20241022", + "name": "Claude Sonnet 3.5 v2", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04-30", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + }, + "claude-opus-4-1-20250805": { + "id": "claude-opus-4-1-20250805", + "name": "Claude Opus 4.1", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + } + } + }, + "openai": { + "id": "openai", + "env": ["OPENAI_API_KEY"], + "npm": "@ai-sdk/openai", + "name": "OpenAI", + "doc": "https://platform.openai.com/docs/models", + "models": { + "gpt-4": { + "id": "gpt-4", + "name": "GPT-4", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-11", + "release_date": "2023-11-06", + "last_updated": "2024-04-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 30, "output": 60 }, + "limit": { "context": 8192, "output": 8192 } + }, + "gpt-5": { + "id": "gpt-5", + "name": "GPT-5", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.13 }, + "limit": { "context": 400000, "output": 128000 } + }, + "gpt-5-mini": { + "id": "gpt-5-mini", + "name": "GPT-5 Mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 2, "cache_read": 0.03 }, + "limit": { "context": 400000, "output": 128000 } + }, + "o1-preview": { + "id": "o1-preview", + "name": "o1-preview", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2023-09", + "release_date": "2024-09-12", + "last_updated": "2024-09-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 60, "cache_read": 7.5 }, + "limit": { "context": 128000, "output": 32768 } + }, + "gpt-4-turbo": { + "id": "gpt-4-turbo", + "name": "GPT-4 Turbo", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2023-11-06", + "last_updated": "2024-04-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 10, "output": 30 }, + "limit": { "context": 128000, "output": 4096 } + }, + "codex-mini-latest": { + "id": "codex-mini-latest", + "name": "Codex Mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-05-16", + "last_updated": "2025-05-16", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.5, "output": 6, "cache_read": 0.375 }, + "limit": { "context": 200000, "output": 100000 } + }, + "gpt-5-nano": { + "id": "gpt-5-nano", + "name": "GPT-5 Nano", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.05, "output": 0.4, "cache_read": 0.01 }, + "limit": { "context": 400000, "output": 128000 } + }, + "gpt-4.1-nano": { + "id": "gpt-4.1-nano", + "name": "GPT-4.1 nano", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.03 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "gpt-4o-mini": { + "id": "gpt-4o-mini", + "name": "GPT-4o mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.08 }, + "limit": { "context": 128000, "output": 16384 } + }, + "gpt-3.5-turbo": { + "id": "gpt-3.5-turbo", + "name": "GPT-3.5-turbo", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-09-01", + "release_date": "2023-03-01", + "last_updated": "2023-11-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.5, "output": 1.5, "cache_read": 1.25 }, + "limit": { "context": 16385, "output": 4096 } + }, + "gpt-4.1": { + "id": "gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "gpt-5-chat-latest": { + "id": "gpt-5-chat-latest", + "name": "GPT-5 Chat (latest)", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10 }, + "limit": { "context": 400000, "output": 128000 } + }, + "o4-mini-deep-research": { + "id": "o4-mini-deep-research", + "name": "o4-mini-deep-research", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2024-06-26", + "last_updated": "2024-06-26", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o1-mini": { + "id": "o1-mini", + "name": "o1-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2023-09", + "release_date": "2024-09-12", + "last_updated": "2024-09-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.55 }, + "limit": { "context": 128000, "output": 65536 } + }, + "gpt-4o": { + "id": "gpt-4o", + "name": "GPT-4o", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-05-13", + "last_updated": "2024-05-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2.5, "output": 10, "cache_read": 1.25 }, + "limit": { "context": 128000, "output": 16384 } + }, + "gpt-4.1-mini": { + "id": "gpt-4.1-mini", + "name": "GPT-4.1 mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 1.6, "cache_read": 0.1 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "o3": { + "id": "o3", + "name": "o3", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o1": { + "id": "o1", + "name": "o1", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-12-05", + "last_updated": "2024-12-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 60, "cache_read": 7.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o1-pro": { + "id": "o1-pro", + "name": "o1-pro", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2025-03-19", + "last_updated": "2025-03-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 150, "output": 600 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o3-deep-research": { + "id": "o3-deep-research", + "name": "o3-deep-research", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2024-06-26", + "last_updated": "2024-06-26", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 10, "output": 40, "cache_read": 2.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o3-pro": { + "id": "o3-pro", + "name": "o3-pro", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-06-10", + "last_updated": "2025-06-10", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 20, "output": 80 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o3-mini": { + "id": "o3-mini", + "name": "o3-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2024-12-20", + "last_updated": "2025-01-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.55 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o4-mini": { + "id": "o4-mini", + "name": "o4-mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.28 }, + "limit": { "context": 200000, "output": 100000 } + } + } + }, + "openrouter": { + "id": "openrouter", + "env": ["OPENROUTER_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://openrouter.ai/api/v1", + "name": "OpenRouter", + "doc": "https://openrouter.ai/models", + "models": { + "rekaai/reka-flash-3": { + "id": "rekaai/reka-flash-3", + "name": "Reka Flash 3", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-12", + "last_updated": "2025-03-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 8192 } + }, + "cognitivecomputations/dolphin3.0-mistral-24b": { + "id": "cognitivecomputations/dolphin3.0-mistral-24b", + "name": "Dolphin3.0 Mistral 24B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-02-13", + "last_updated": "2025-02-13", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 8192 } + }, + "cognitivecomputations/dolphin3.0-r1-mistral-24b": { + "id": "cognitivecomputations/dolphin3.0-r1-mistral-24b", + "name": "Dolphin3.0 R1 Mistral 24B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-02-13", + "last_updated": "2025-02-13", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 8192 } + }, + "tngtech/deepseek-r1t2-chimera:free": { + "id": "tngtech/deepseek-r1t2-chimera:free", + "name": "DeepSeek R1T2 Chimera (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2025-07", + "release_date": "2025-07-08", + "last_updated": "2025-07-08", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 163840, "output": 163840 } + }, + "x-ai/grok-3-beta": { + "id": "x-ai/grok-3-beta", + "name": "Grok 3 Beta", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 131072, "output": 8192 } + }, + "x-ai/grok-3-mini": { + "id": "x-ai/grok-3-mini", + "name": "Grok 3 Mini", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 0.5, "cache_read": 0.075, "cache_write": 0.5 }, + "limit": { "context": 131072, "output": 8192 } + }, + "x-ai/grok-3-mini-beta": { + "id": "x-ai/grok-3-mini-beta", + "name": "Grok 3 Mini Beta", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 0.5, "cache_read": 0.075, "cache_write": 0.5 }, + "limit": { "context": 131072, "output": 8192 } + }, + "x-ai/grok-3": { + "id": "x-ai/grok-3", + "name": "Grok 3", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 131072, "output": 8192 } + }, + "x-ai/grok-4": { + "id": "x-ai/grok-4", + "name": "Grok 4", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-07-09", + "last_updated": "2025-07-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 256000, "output": 64000 } + }, + "anthropic/claude-3.7-sonnet": { + "id": "anthropic/claude-3.7-sonnet", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-01", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 128000 } + }, + "anthropic/claude-opus-4.1": { + "id": "anthropic/claude-opus-4.1", + "name": "Claude Opus 4.1", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "anthropic/claude-3.5-haiku": { + "id": "anthropic/claude-3.5-haiku", + "name": "Claude Haiku 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07-31", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 4, "cache_read": 0.08, "cache_write": 1 }, + "limit": { "context": 200000, "output": 8192 } + }, + "anthropic/claude-opus-4": { + "id": "anthropic/claude-opus-4", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "anthropic/claude-sonnet-4": { + "id": "anthropic/claude-sonnet-4", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "featherless/qwerky-72b": { + "id": "featherless/qwerky-72b", + "name": "Qwerky 72B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-03-20", + "last_updated": "2025-03-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 8192 } + }, + "openai/gpt-5": { + "id": "openai/gpt-5", + "name": "GPT-5", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10-01", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-5-mini": { + "id": "openai/gpt-5-mini", + "name": "GPT-5 Mini", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10-01", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 2 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-5-nano": { + "id": "openai/gpt-5-nano", + "name": "GPT-5 Nano", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10-01", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.05, "output": 0.4 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-4o-mini": { + "id": "openai/gpt-4o-mini", + "name": "GPT-4o-mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.08 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4.1": { + "id": "openai/gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/gpt-oss-120b": { + "id": "openai/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.6 }, + "limit": { "context": 131072, "output": 32768 } + }, + "openai/gpt-5-chat": { + "id": "openai/gpt-5-chat", + "name": "GPT-5 Chat (latest)", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-4.1-mini": { + "id": "openai/gpt-4.1-mini", + "name": "GPT-4.1 Mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 1.6, "cache_read": 0.1 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/gpt-oss-20b": { + "id": "openai/gpt-oss-20b", + "name": "GPT OSS 20B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.05, "output": 0.2 }, + "limit": { "context": 131072, "output": 32768 } + }, + "openai/o4-mini": { + "id": "openai/o4-mini", + "name": "o4 Mini", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.28 }, + "limit": { "context": 200000, "output": 100000 } + }, + "thudm/glm-z1-32b:free": { + "id": "thudm/glm-z1-32b:free", + "name": "GLM Z1 32B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-17", + "last_updated": "2025-04-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 32768 } + }, + "openrouter/cypher-alpha:free": { + "id": "openrouter/cypher-alpha:free", + "name": "Cypher Alpha (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-07-01", + "last_updated": "2025-07-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 1000000, "output": 1000000 } + }, + "openrouter/horizon-beta": { + "id": "openrouter/horizon-beta", + "name": "Horizon Beta", + "attachment": true, + "reasoning": false, + "temperature": false, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-08-01", + "last_updated": "2025-08-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 256000, "output": 128000 } + }, + "openrouter/horizon-alpha": { + "id": "openrouter/horizon-alpha", + "name": "Horizon Alpha", + "attachment": true, + "reasoning": false, + "temperature": false, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-07-30", + "last_updated": "2025-07-30", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 256000, "output": 128000 } + }, + "google/gemma-3n-e4b-it": { + "id": "google/gemma-3n-e4b-it", + "name": "Gemma 3n E4B IT", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-05-20", + "last_updated": "2025-05-20", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 8192 } + }, + "google/gemini-2.5-pro": { + "id": "google/gemini-2.5-pro", + "name": "Gemini 2.5 Pro", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "google/gemma-3n-e4b-it:free": { + "id": "google/gemma-3n-e4b-it:free", + "name": "Gemma 3n 4B (free)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-20", + "last_updated": "2025-05-20", + "modalities": { "input": ["text", "image", "audio"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 8192 } + }, + "google/gemini-2.0-flash-exp:free": { + "id": "google/gemini-2.0-flash-exp:free", + "name": "Gemini 2.0 Flash Experimental (free)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 1048576, "output": 1048576 } + }, + "google/gemma-2-9b-it:free": { + "id": "google/gemma-2-9b-it:free", + "name": "Gemma 2 9B (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-06-28", + "last_updated": "2024-06-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 8192 } + }, + "google/gemma-3-12b-it": { + "id": "google/gemma-3-12b-it", + "name": "Gemma 3 12B IT", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-13", + "last_updated": "2025-03-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 96000, "output": 8192 } + }, + "google/gemma-3-27b-it": { + "id": "google/gemma-3-27b-it", + "name": "Gemma 3 27B IT", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-12", + "last_updated": "2025-03-12", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 96000, "output": 8192 } + }, + "google/gemini-2.0-flash-001": { + "id": "google/gemini-2.0-flash-001", + "name": "Gemini 2.0 Flash", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.025 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "google/gemini-2.5-flash": { + "id": "google/gemini-2.5-flash", + "name": "Gemini 2.5 Flash", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-07-17", + "last_updated": "2025-07-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 2.5, "cache_read": 0.0375 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "google/gemini-2.5-pro-preview-06-05": { + "id": "google/gemini-2.5-pro-preview-06-05", + "name": "Gemini 2.5 Pro Preview 06-05", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-05", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "google/gemini-2.5-pro-preview-05-06": { + "id": "google/gemini-2.5-pro-preview-05-06", + "name": "Gemini 2.5 Pro Preview 05-06", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-05-06", + "last_updated": "2025-05-06", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "meta-llama/llama-4-scout:free": { + "id": "meta-llama/llama-4-scout:free", + "name": "Llama 4 Scout (free)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 64000, "output": 64000 } + }, + "meta-llama/llama-3.3-70b-instruct:free": { + "id": "meta-llama/llama-3.3-70b-instruct:free", + "name": "Llama 3.3 70B Instruct (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 65536, "output": 65536 } + }, + "meta-llama/llama-3.2-11b-vision-instruct": { + "id": "meta-llama/llama-3.2-11b-vision-instruct", + "name": "Llama 3.2 11B Vision Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 8192 } + }, + "z-ai/glm-4.5-air:free": { + "id": "z-ai/glm-4.5-air:free", + "name": "GLM 4.5 Air (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 96000 } + }, + "z-ai/glm-4.5": { + "id": "z-ai/glm-4.5", + "name": "GLM 4.5", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.2 }, + "limit": { "context": 128000, "output": 96000 } + }, + "z-ai/glm-4.5v": { + "id": "z-ai/glm-4.5v", + "name": "GLM 4.5V", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-08-11", + "last_updated": "2025-08-11", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 1.8 }, + "limit": { "context": 64000, "output": 16384 } + }, + "z-ai/glm-4.5-air": { + "id": "z-ai/glm-4.5-air", + "name": "GLM 4.5 Air", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 1.1 }, + "limit": { "context": 128000, "output": 96000 } + }, + "qwen/qwen3-30b-a3b:free": { + "id": "qwen/qwen3-30b-a3b:free", + "name": "Qwen3 30B A3B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-04-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 40960, "output": 40960 } + }, + "qwen/qwen3-235b-a22b:free": { + "id": "qwen/qwen3-235b-a22b:free", + "name": "Qwen3 235B A22B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-04-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 131072 } + }, + "qwen/qwq-32b:free": { + "id": "qwen/qwq-32b:free", + "name": "QwQ 32B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03", + "release_date": "2025-03-05", + "last_updated": "2025-03-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 32768 } + }, + "qwen/qwen-2.5-coder-32b-instruct": { + "id": "qwen/qwen-2.5-coder-32b-instruct", + "name": "Qwen2.5 Coder 32B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2024-11-11", + "last_updated": "2024-11-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 8192 } + }, + "qwen/qwen2.5-vl-72b-instruct": { + "id": "qwen/qwen2.5-vl-72b-instruct", + "name": "Qwen2.5 VL 72B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-02-01", + "last_updated": "2025-02-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 8192 } + }, + "qwen/qwen3-14b:free": { + "id": "qwen/qwen3-14b:free", + "name": "Qwen3 14B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-04-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 40960, "output": 40960 } + }, + "qwen/qwen3-32b:free": { + "id": "qwen/qwen3-32b:free", + "name": "Qwen3 32B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-04-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 40960, "output": 40960 } + }, + "qwen/qwen3-coder": { + "id": "qwen/qwen3-coder", + "name": "Qwen3 Coder", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 1.2 }, + "limit": { "context": 262144, "output": 66536 } + }, + "qwen/qwen3-coder:free": { + "id": "qwen/qwen3-coder:free", + "name": "Qwen3 Coder 480B A35B Instruct (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 66536 } + }, + "qwen/qwen3-235b-a22b-07-25:free": { + "id": "qwen/qwen3-235b-a22b-07-25:free", + "name": "Qwen3 235B A22B Instruct 2507 (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-07-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 131072 } + }, + "qwen/qwen3-8b:free": { + "id": "qwen/qwen3-8b:free", + "name": "Qwen3 8B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-04-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 40960, "output": 40960 } + }, + "qwen/qwen3-235b-a22b-thinking-2507": { + "id": "qwen/qwen3-235b-a22b-thinking-2507", + "name": "Qwen3 235B A22B Thinking 2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.078, "output": 0.312 }, + "limit": { "context": 262144, "output": 81920 } + }, + "qwen/qwen2.5-vl-72b-instruct:free": { + "id": "qwen/qwen2.5-vl-72b-instruct:free", + "name": "Qwen2.5 VL 72B Instruct (free)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-02", + "release_date": "2025-02-01", + "last_updated": "2025-02-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 32768 } + }, + "qwen/qwen3-235b-a22b-07-25": { + "id": "qwen/qwen3-235b-a22b-07-25", + "name": "Qwen3 235B A22B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-07-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.85 }, + "limit": { "context": 262144, "output": 131072 } + }, + "qwen/qwen3-30b-a3b-instruct-2507": { + "id": "qwen/qwen3-30b-a3b-instruct-2507", + "name": "Qwen3 30B A3B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2025-04", + "release_date": "2025-07-29", + "last_updated": "2025-07-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 131072, "output": 33000 } + }, + "qwen/qwen2.5-vl-32b-instruct:free": { + "id": "qwen/qwen2.5-vl-32b-instruct:free", + "name": "Qwen2.5 VL 32B Instruct (free)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03", + "release_date": "2025-03-24", + "last_updated": "2025-03-24", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 8192 } + }, + "deepseek/deepseek-r1-0528-qwen3-8b:free": { + "id": "deepseek/deepseek-r1-0528-qwen3-8b:free", + "name": "Deepseek R1 0528 Qwen3 8B (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-29", + "last_updated": "2025-05-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 131072 } + }, + "deepseek/deepseek-r1-distill-llama-70b": { + "id": "deepseek/deepseek-r1-distill-llama-70b", + "name": "DeepSeek R1 Distill Llama 70B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-01-23", + "last_updated": "2025-01-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 8192, "output": 8192 } + }, + "deepseek/deepseek-r1:free": { + "id": "deepseek/deepseek-r1:free", + "name": "R1 (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-01-20", + "last_updated": "2025-01-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 163840, "output": 163840 } + }, + "deepseek/deepseek-chat-v3.1": { + "id": "deepseek/deepseek-chat-v3.1", + "name": "DeepSeek-V3.1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-08-21", + "last_updated": "2025-08-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 163840, "output": 163840 } + }, + "deepseek/deepseek-r1-0528:free": { + "id": "deepseek/deepseek-r1-0528:free", + "name": "R1 0528 (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-28", + "last_updated": "2025-05-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 163840, "output": 163840 } + }, + "deepseek/deepseek-r1-distill-qwen-14b": { + "id": "deepseek/deepseek-r1-distill-qwen-14b", + "name": "DeepSeek R1 Distill Qwen 14B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-01-29", + "last_updated": "2025-01-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 64000, "output": 8192 } + }, + "deepseek/deepseek-v3-base:free": { + "id": "deepseek/deepseek-v3-base:free", + "name": "DeepSeek V3 Base (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2025-03", + "release_date": "2025-03-29", + "last_updated": "2025-03-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 163840, "output": 163840 } + }, + "deepseek/deepseek-chat-v3-0324": { + "id": "deepseek/deepseek-chat-v3-0324", + "name": "DeepSeek V3 0324", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-03-24", + "last_updated": "2025-03-24", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 16384, "output": 8192 } + }, + "moonshotai/kimi-k2": { + "id": "moonshotai/kimi-k2", + "name": "Kimi K2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-11", + "last_updated": "2025-07-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.55, "output": 2.2 }, + "limit": { "context": 131072, "output": 32768 } + }, + "moonshotai/kimi-k2:free": { + "id": "moonshotai/kimi-k2:free", + "name": "Kimi K2 (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-11", + "last_updated": "2025-07-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32800, "output": 32800 } + }, + "moonshotai/kimi-dev-72b:free": { + "id": "moonshotai/kimi-dev-72b:free", + "name": "Kimi Dev 72b (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-06", + "release_date": "2025-06-16", + "last_updated": "2025-06-16", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 131072 } + }, + "sarvamai/sarvam-m:free": { + "id": "sarvamai/sarvam-m:free", + "name": "Sarvam-M (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-25", + "last_updated": "2025-05-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 32768 } + }, + "microsoft/mai-ds-r1:free": { + "id": "microsoft/mai-ds-r1:free", + "name": "MAI DS R1 (free)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-21", + "last_updated": "2025-04-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 163840, "output": 163840 } + }, + "mistralai/mistral-nemo:free": { + "id": "mistralai/mistral-nemo:free", + "name": "Mistral Nemo (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2024-07-19", + "last_updated": "2024-07-19", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 131072 } + }, + "mistralai/mistral-medium-3.1": { + "id": "mistralai/mistral-medium-3.1", + "name": "Mistral Medium 3.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-08-12", + "last_updated": "2025-08-12", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 262144, "output": 262144 } + }, + "mistralai/codestral-2508": { + "id": "mistralai/codestral-2508", + "name": "Codestral 2508", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-08-01", + "last_updated": "2025-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 0.9 }, + "limit": { "context": 256000, "output": 256000 } + }, + "mistralai/devstral-small-2507": { + "id": "mistralai/devstral-small-2507", + "name": "Devstral Small 1.1", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-07-10", + "last_updated": "2025-07-10", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.3 }, + "limit": { "context": 131072, "output": 131072 } + }, + "mistralai/mistral-small-3.1-24b-instruct": { + "id": "mistralai/mistral-small-3.1-24b-instruct", + "name": "Mistral Small 3.1 24B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-17", + "last_updated": "2025-03-17", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 8192 } + }, + "mistralai/devstral-medium-2507": { + "id": "mistralai/devstral-medium-2507", + "name": "Devstral Medium", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-07-10", + "last_updated": "2025-07-10", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 131072, "output": 131072 } + }, + "mistralai/mistral-small-3.2-24b-instruct:free": { + "id": "mistralai/mistral-small-3.2-24b-instruct:free", + "name": "Mistral Small 3.2 24B (free)", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-06", + "release_date": "2025-06-20", + "last_updated": "2025-06-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 96000, "output": 96000 } + }, + "mistralai/devstral-small-2505:free": { + "id": "mistralai/devstral-small-2505:free", + "name": "Devstral Small 2505 (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-21", + "last_updated": "2025-05-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 32768 } + }, + "mistralai/mistral-medium-3": { + "id": "mistralai/mistral-medium-3", + "name": "Mistral Medium 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-07", + "last_updated": "2025-05-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 131072, "output": 131072 } + }, + "mistralai/mistral-7b-instruct:free": { + "id": "mistralai/mistral-7b-instruct:free", + "name": "Mistral 7B Instruct (free)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2024-05-27", + "last_updated": "2024-05-27", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 32768, "output": 32768 } + }, + "mistralai/devstral-small-2505": { + "id": "mistralai/devstral-small-2505", + "name": "Devstral Small", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-07", + "last_updated": "2025-05-07", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.06, "output": 0.12 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistralai/mistral-small-3.2-24b-instruct": { + "id": "mistralai/mistral-small-3.2-24b-instruct", + "name": "Mistral Small 3.2 24B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-06-20", + "last_updated": "2025-06-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 96000, "output": 8192 } + }, + "nousresearch/deephermes-3-llama-3-8b-preview": { + "id": "nousresearch/deephermes-3-llama-3-8b-preview", + "name": "DeepHermes 3 Llama 3 8B Preview", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-02-28", + "last_updated": "2025-02-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 8192 } + } + } + }, + "google": { + "id": "google", + "env": ["GOOGLE_GENERATIVE_AI_API_KEY"], + "npm": "@ai-sdk/google", + "name": "Google", + "doc": "https://ai.google.dev/gemini-api/docs/pricing", + "models": { + "gemini-1.5-pro": { + "id": "gemini-1.5-pro", + "name": "Gemini 1.5 Pro", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-02-15", + "last_updated": "2024-02-15", + "modalities": { "input": ["text", "image", "audio", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 5, "cache_read": 0.3125 }, + "limit": { "context": 1000000, "output": 8192 } + }, + "gemini-2.5-pro": { + "id": "gemini-2.5-pro", + "name": "Gemini 2.5 Pro", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.0-flash-lite": { + "id": "gemini-2.0-flash-lite", + "name": "Gemini 2.0 Flash Lite", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.075, "output": 0.3 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "gemini-1.5-flash": { + "id": "gemini-1.5-flash", + "name": "Gemini 1.5 Flash", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-05-14", + "last_updated": "2024-05-14", + "modalities": { "input": ["text", "image", "audio", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.075, "output": 0.3, "cache_read": 0.01875 }, + "limit": { "context": 1000000, "output": 8192 } + }, + "gemini-2.5-flash": { + "id": "gemini-2.5-flash", + "name": "Gemini 2.5 Flash", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 2.5, "cache_read": 0.075 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-pro-preview-06-05": { + "id": "gemini-2.5-pro-preview-06-05", + "name": "Gemini 2.5 Pro Preview 06-05", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-05", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.0-flash": { + "id": "gemini-2.0-flash", + "name": "Gemini 2.0 Flash", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.025 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "gemini-2.5-flash-preview-05-20": { + "id": "gemini-2.5-flash-preview-05-20", + "name": "Gemini 2.5 Flash Preview 05-20", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-05-20", + "last_updated": "2025-05-20", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.0375 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-1.5-flash-8b": { + "id": "gemini-1.5-flash-8b", + "name": "Gemini 1.5 Flash-8B", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-10-03", + "last_updated": "2024-10-03", + "modalities": { "input": ["text", "image", "audio", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.0375, "output": 0.15, "cache_read": 0.01 }, + "limit": { "context": 1000000, "output": 8192 } + }, + "gemini-2.5-pro-preview-05-06": { + "id": "gemini-2.5-pro-preview-05-06", + "name": "Gemini 2.5 Pro Preview 05-06", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-05-06", + "last_updated": "2025-05-06", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-flash-preview-04-17": { + "id": "gemini-2.5-flash-preview-04-17", + "name": "Gemini 2.5 Flash Preview 04-17", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-04-17", + "last_updated": "2025-04-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.0375 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-flash-lite-preview-06-17": { + "id": "gemini-2.5-flash-lite-preview-06-17", + "name": "Gemini 2.5 Flash Lite Preview 06-17", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-17", + "last_updated": "2025-06-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.025 }, + "limit": { "context": 65536, "output": 65536 } + } + } + }, + "amazon-bedrock": { + "id": "amazon-bedrock", + "env": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION"], + "npm": "@ai-sdk/amazon-bedrock", + "name": "Amazon Bedrock", + "doc": "https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html", + "models": { + "anthropic.claude-3-5-haiku-20241022-v1:0": { + "id": "anthropic.claude-3-5-haiku-20241022-v1:0", + "name": "Claude Haiku 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 4, "cache_read": 0.08, "cache_write": 1 }, + "limit": { "context": 200000, "output": 8192 } + }, + "anthropic.claude-3-7-sonnet-20250219-v1:0": { + "id": "anthropic.claude-3-7-sonnet-20250219-v1:0", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + }, + "amazon.nova-pro-v1:0": { + "id": "amazon.nova-pro-v1:0", + "name": "Nova Pro", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 3.2, "cache_read": 0.2 }, + "limit": { "context": 300000, "output": 8192 } + }, + "meta.llama3-2-1b-instruct-v1:0": { + "id": "meta.llama3-2-1b-instruct-v1:0", + "name": "Llama 3.2 1B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.1 }, + "limit": { "context": 131000, "output": 4096 } + }, + "cohere.command-light-text-v14": { + "id": "cohere.command-light-text-v14", + "name": "Command Light", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-08", + "release_date": "2023-11-01", + "last_updated": "2023-11-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 0.6 }, + "limit": { "context": 4096, "output": 4096 } + }, + "meta.llama3-2-3b-instruct-v1:0": { + "id": "meta.llama3-2-3b-instruct-v1:0", + "name": "Llama 3.2 3B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.15 }, + "limit": { "context": 131000, "output": 4096 } + }, + "anthropic.claude-v2:1": { + "id": "anthropic.claude-v2:1", + "name": "Claude 2.1", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-08", + "release_date": "2023-11-21", + "last_updated": "2023-11-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 8, "output": 24 }, + "limit": { "context": 200000, "output": 4096 } + }, + "ai21.jamba-1-5-mini-v1:0": { + "id": "ai21.jamba-1-5-mini-v1:0", + "name": "Jamba 1.5 Mini", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-15", + "last_updated": "2024-08-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.4 }, + "limit": { "context": 256000, "output": 4096 } + }, + "anthropic.claude-opus-4-20250514-v1:0": { + "id": "anthropic.claude-opus-4-20250514-v1:0", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "meta.llama4-maverick-17b-instruct-v1:0": { + "id": "meta.llama4-maverick-17b-instruct-v1:0", + "name": "Llama 4 Maverick 17B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.24, "output": 0.97 }, + "limit": { "context": 1000000, "output": 16384 } + }, + "anthropic.claude-instant-v1": { + "id": "anthropic.claude-instant-v1", + "name": "Claude Instant", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-08", + "release_date": "2023-03-01", + "last_updated": "2023-03-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 2.4 }, + "limit": { "context": 100000, "output": 4096 } + }, + "meta.llama3-1-70b-instruct-v1:0": { + "id": "meta.llama3-1-70b-instruct-v1:0", + "name": "Llama 3.1 70B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.72, "output": 0.72 }, + "limit": { "context": 128000, "output": 4096 } + }, + "meta.llama3-1-8b-instruct-v1:0": { + "id": "meta.llama3-1-8b-instruct-v1:0", + "name": "Llama 3.1 8B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.22, "output": 0.22 }, + "limit": { "context": 128000, "output": 4096 } + }, + "anthropic.claude-3-5-sonnet-20241022-v2:0": { + "id": "anthropic.claude-3-5-sonnet-20241022-v2:0", + "name": "Claude Sonnet 3.5 v2", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + }, + "amazon.nova-lite-v1:0": { + "id": "amazon.nova-lite-v1:0", + "name": "Nova Lite", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.06, "output": 0.24, "cache_read": 0.015 }, + "limit": { "context": 300000, "output": 8192 } + }, + "deepseek.r1-v1:0": { + "id": "deepseek.r1-v1:0", + "name": "DeepSeek-R1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-01-20", + "last_updated": "2025-05-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.35, "output": 5.4 }, + "limit": { "context": 128000, "output": 32768 } + }, + "anthropic.claude-3-haiku-20240307-v1:0": { + "id": "anthropic.claude-3-haiku-20240307-v1:0", + "name": "Claude Haiku 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-02", + "release_date": "2024-03-13", + "last_updated": "2024-03-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 1.25 }, + "limit": { "context": 200000, "output": 4096 } + }, + "amazon.nova-premier-v1:0": { + "id": "amazon.nova-premier-v1:0", + "name": "Nova Premier", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2.5, "output": 12.5 }, + "limit": { "context": 1000000, "output": 16384 } + }, + "meta.llama3-8b-instruct-v1:0": { + "id": "meta.llama3-8b-instruct-v1:0", + "name": "Llama 3 8B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-03", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 0.6 }, + "limit": { "context": 8192, "output": 2048 } + }, + "cohere.command-r-v1:0": { + "id": "cohere.command-r-v1:0", + "name": "Command R", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-03-11", + "last_updated": "2024-03-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 1.5 }, + "limit": { "context": 128000, "output": 4096 } + }, + "anthropic.claude-3-sonnet-20240229-v1:0": { + "id": "anthropic.claude-3-sonnet-20240229-v1:0", + "name": "Claude Sonnet 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08", + "release_date": "2024-03-04", + "last_updated": "2024-03-04", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15 }, + "limit": { "context": 200000, "output": 4096 } + }, + "meta.llama4-scout-17b-instruct-v1:0": { + "id": "meta.llama4-scout-17b-instruct-v1:0", + "name": "Llama 4 Scout 17B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.17, "output": 0.66 }, + "limit": { "context": 3500000, "output": 16384 } + }, + "meta.llama3-70b-instruct-v1:0": { + "id": "meta.llama3-70b-instruct-v1:0", + "name": "Llama 3 70B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2.65, "output": 3.5 }, + "limit": { "context": 8192, "output": 2048 } + }, + "cohere.command-r-plus-v1:0": { + "id": "cohere.command-r-plus-v1:0", + "name": "Command R+", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-04-04", + "last_updated": "2024-04-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 3, "output": 15 }, + "limit": { "context": 128000, "output": 4096 } + }, + "meta.llama3-2-90b-instruct-v1:0": { + "id": "meta.llama3-2-90b-instruct-v1:0", + "name": "Llama 3.2 90B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.72, "output": 0.72 }, + "limit": { "context": 128000, "output": 4096 } + }, + "ai21.jamba-1-5-large-v1:0": { + "id": "ai21.jamba-1-5-large-v1:0", + "name": "Jamba 1.5 Large", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-15", + "last_updated": "2024-08-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 8 }, + "limit": { "context": 256000, "output": 4096 } + }, + "anthropic.claude-v2": { + "id": "anthropic.claude-v2", + "name": "Claude 2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-08", + "release_date": "2023-07-11", + "last_updated": "2023-07-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 8, "output": 24 }, + "limit": { "context": 100000, "output": 4096 } + }, + "anthropic.claude-3-opus-20240229-v1:0": { + "id": "anthropic.claude-3-opus-20240229-v1:0", + "name": "Claude Opus 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08", + "release_date": "2024-02-29", + "last_updated": "2024-02-29", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75 }, + "limit": { "context": 200000, "output": 4096 } + }, + "anthropic.claude-3-5-sonnet-20240620-v1:0": { + "id": "anthropic.claude-3-5-sonnet-20240620-v1:0", + "name": "Claude Sonnet 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-06-20", + "last_updated": "2024-06-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + }, + "meta.llama3-3-70b-instruct-v1:0": { + "id": "meta.llama3-3-70b-instruct-v1:0", + "name": "Llama 3.3 70B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.72, "output": 0.72 }, + "limit": { "context": 128000, "output": 4096 } + }, + "anthropic.claude-sonnet-4-20250514-v1:0": { + "id": "anthropic.claude-sonnet-4-20250514-v1:0", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "cohere.command-text-v14": { + "id": "cohere.command-text-v14", + "name": "Command", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-08", + "release_date": "2023-11-01", + "last_updated": "2023-11-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.5, "output": 2 }, + "limit": { "context": 4096, "output": 4096 } + }, + "anthropic.claude-opus-4-1-20250805-v1:0": { + "id": "anthropic.claude-opus-4-1-20250805-v1:0", + "name": "Claude Opus 4.1", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "meta.llama3-2-11b-instruct-v1:0": { + "id": "meta.llama3-2-11b-instruct-v1:0", + "name": "Llama 3.2 11B Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-09-25", + "last_updated": "2024-09-25", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.16, "output": 0.16 }, + "limit": { "context": 128000, "output": 4096 } + }, + "amazon.nova-micro-v1:0": { + "id": "amazon.nova-micro-v1:0", + "name": "Nova Micro", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.035, "output": 0.14, "cache_read": 0.00875 }, + "limit": { "context": 128000, "output": 8192 } + } + } + }, + "chutes": { + "id": "chutes", + "env": ["CHUTES_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://llm.chutes.ai/v1", + "name": "Chutes", + "doc": "https://llm.chutes.ai/v1/models", + "models": { + "tngtech/DeepSeek-TNG-R1T2-Chimera": { + "id": "tngtech/DeepSeek-TNG-R1T2-Chimera", + "name": "DeepSeek TNG R1T2 Chimera", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2025-07", + "release_date": "2025-07-08", + "last_updated": "2025-07-08", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 163840, "output": 163840 } + }, + "tngtech/DeepSeek-R1T-Chimera": { + "id": "tngtech/DeepSeek-R1T-Chimera", + "name": "DeepSeek R1T Chimera", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2025-04", + "release_date": "2025-04-26", + "last_updated": "2025-04-26", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.18, "output": 0.72 }, + "limit": { "context": 163840, "output": 163840 } + }, + "openai/gpt-oss-120b": { + "id": "openai/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.41 }, + "limit": { "context": 131072, "output": 32768 } + }, + "deepseek-ai/DeepSeek-V3.1": { + "id": "deepseek-ai/DeepSeek-V3.1", + "name": "DeepSeek V3.1", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-21", + "last_updated": "2025-08-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 163840, "output": 163840 } + }, + "deepseek-ai/DeepSeek-R1-0528": { + "id": "deepseek-ai/DeepSeek-R1-0528", + "name": "DeepSeek R1 (0528)", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-01", + "last_updated": "2025-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.18, "output": 0.72 }, + "limit": { "context": 75000, "output": 163840 } + }, + "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B": { + "id": "deepseek-ai/DeepSeek-R1-0528-Qwen3-8B", + "name": "DeepSeek R1 0528 Qwen3 8B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-29", + "last_updated": "2025-05-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.02, "output": 0.07 }, + "limit": { "context": 131072, "output": 131072 } + }, + "deepseek-ai/DeepSeek-R1-Distill-Llama-70B": { + "id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B", + "name": "DeepSeek R1 Distill Llama 70B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-01-23", + "last_updated": "2025-01-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.03, "output": 0.14 }, + "limit": { "context": 131072, "output": 131072 } + }, + "deepseek-ai/DeepSeek-V3-0324": { + "id": "deepseek-ai/DeepSeek-V3-0324", + "name": "DeepSeek V3 (0324)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-01", + "last_updated": "2025-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.18, "output": 0.72 }, + "limit": { "context": 75000, "output": 163840 } + }, + "deepseek-ai/DeepSeek-V3.1:THINKING": { + "id": "deepseek-ai/DeepSeek-V3.1:THINKING", + "name": "DeepSeek V3.1 Reasoning", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-21", + "last_updated": "2025-08-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 163840, "output": 163840 } + }, + "zai-org/GLM-4.5-FP8": { + "id": "zai-org/GLM-4.5-FP8", + "name": "GLM 4.5 FP8", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 131072 } + }, + "zai-org/GLM-4.5-Air": { + "id": "zai-org/GLM-4.5-Air", + "name": "GLM 4.5 Air", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 98304 } + }, + "Qwen/Qwen3-30B-A3B-Instruct-2507": { + "id": "Qwen/Qwen3-30B-A3B-Instruct-2507", + "name": "Qwen3 30B A3B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.05, "output": 0.2 }, + "limit": { "context": 262144, "output": 262144 } + }, + "Qwen/Qwen3-235B-A22B-Thinking-2507": { + "id": "Qwen/Qwen3-235B-A22B-Thinking-2507", + "name": "Qwen3-235B-A22B-Thinking-2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.078, "output": 0.312 }, + "limit": { "context": 262144, "output": 262144 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", + "name": "Qwen3 Coder 480B A35B Instruct (FP8)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-01", + "last_updated": "2025-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 262144, "output": 262144 } + }, + "Qwen/Qwen3-235B-A22B-Instruct-2507": { + "id": "Qwen/Qwen3-235B-A22B-Instruct-2507", + "name": "Qwen3 235B A22B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-07-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.078, "output": 0.312 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-30B-A3B": { + "id": "Qwen/Qwen3-30B-A3B", + "name": "Qwen3 30B A3B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-04-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.02, "output": 0.08 }, + "limit": { "context": 40960, "output": 40960 } + }, + "Qwen/Qwen3-Coder-30B-A3B-Instruct": { + "id": "Qwen/Qwen3-Coder-30B-A3B-Instruct", + "name": "Qwen3 Coder 30B A3B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 262144 } + }, + "chutesai/Devstral-Small-2505": { + "id": "chutesai/Devstral-Small-2505", + "name": "Devstral Small (2505)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-05-21", + "last_updated": "2025-05-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.02, "output": 0.08 }, + "limit": { "context": 32768, "output": 32768 } + }, + "chutesai/Mistral-Small-3.2-24B-Instruct-2506": { + "id": "chutesai/Mistral-Small-3.2-24B-Instruct-2506", + "name": "Mistral Small 3.2 24B Instruct (2506)", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-06-20", + "last_updated": "2025-06-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.02, "output": 0.08 }, + "limit": { "context": 131072, "output": 131072 } + }, + "moonshotai/Kimi-K2-Instruct-75k": { + "id": "moonshotai/Kimi-K2-Instruct-75k", + "name": "Kimi K2 Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-01", + "last_updated": "2025-08-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.59 }, + "limit": { "context": 75000, "output": 75000 } + } + } + }, + "opencode": { + "id": "opencode", + "env": ["OPENCODE_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://gateway.opencode.ai/v1", + "name": "opencode", + "doc": "https://opencode.ai/docs", + "models": { + "sonic": { + "id": "sonic", + "name": "SONIC", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-20", + "last_updated": "2025-08-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0, "output": 0, "cache_read": 0, "cache_write": 0 }, + "limit": { "context": 256000, "output": 32000 } + } + } + }, + "v0": { + "id": "v0", + "env": ["V0_API_KEY"], + "npm": "@ai-sdk/vercel", + "name": "v0", + "doc": "https://sdk.vercel.ai/providers/ai-sdk-providers/vercel", + "models": { + "v0-1.0-md": { + "id": "v0-1.0-md", + "name": "v0-1.0-md", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15 }, + "limit": { "context": 128000, "output": 32000 } + }, + "v0-1.5-md": { + "id": "v0-1.5-md", + "name": "v0-1.5-md", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-06-09", + "last_updated": "2025-06-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15 }, + "limit": { "context": 128000, "output": 32000 } + }, + "v0-1.5-lg": { + "id": "v0-1.5-lg", + "name": "v0-1.5-lg", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-06-09", + "last_updated": "2025-06-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75 }, + "limit": { "context": 512000, "output": 32000 } + } + } + }, + "venice": { + "id": "venice", + "env": ["VENICE_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.venice.ai/api/v1", + "name": "Venice AI", + "doc": "https://docs.venice.ai", + "models": { + "qwen3-4b": { + "id": "qwen3-4b", + "name": "Venice Small", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-07-27", + "last_updated": "2025-07-27", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.6 }, + "limit": { "context": 32768, "output": 8192 } + }, + "mistral-31-24b": { + "id": "mistral-31-24b", + "name": "Venice Medium", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2025-07-15", + "last_updated": "2025-07-15", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 2 }, + "limit": { "context": 131072, "output": 8192 } + }, + "deepseek-coder-v2-lite": { + "id": "deepseek-coder-v2-lite", + "name": "DeepSeek Coder V2 Lite", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-09", + "release_date": "2025-06-22", + "last_updated": "2025-06-22", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 2 }, + "limit": { "context": 131072, "output": 8192 } + }, + "qwen3-235b": { + "id": "qwen3-235b", + "name": "Venice Large", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-27", + "last_updated": "2025-07-27", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.5, "output": 6 }, + "limit": { "context": 131072, "output": 8192 } + }, + "qwen-2.5-qwq-32b": { + "id": "qwen-2.5-qwq-32b", + "name": "Venice Reasoning", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2025-07-08", + "last_updated": "2025-07-08", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 2 }, + "limit": { "context": 32768, "output": 8192 } + }, + "qwen-2.5-vl": { + "id": "qwen-2.5-vl", + "name": "Qwen 2.5 VL 72B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2025-06-09", + "last_updated": "2025-06-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.7, "output": 2.8 }, + "limit": { "context": 32768, "output": 8192 } + }, + "llama-3.2-3b": { + "id": "llama-3.2-3b", + "name": "Llama 3.2 3B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2025-05-23", + "last_updated": "2025-05-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.6 }, + "limit": { "context": 131072, "output": 8192 } + }, + "llama-3.1-405b": { + "id": "llama-3.1-405b", + "name": "Llama 3.1 405B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-12", + "release_date": "2025-06-30", + "last_updated": "2025-06-30", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.5, "output": 6 }, + "limit": { "context": 65536, "output": 8192 } + }, + "llama-3.3-70b": { + "id": "llama-3.3-70b", + "name": "Llama 3.3 70B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2025-06-09", + "last_updated": "2025-06-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.7, "output": 2.8 }, + "limit": { "context": 65536, "output": 8192 } + }, + "venice-uncensored": { + "id": "venice-uncensored", + "name": "Venice Uncensored 1.1", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2025-07-15", + "last_updated": "2025-07-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 2 }, + "limit": { "context": 32768, "output": 8192 } + }, + "qwen-2.5-coder-32b": { + "id": "qwen-2.5-coder-32b", + "name": "Qwen 2.5 Coder 32B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2025-06-14", + "last_updated": "2025-06-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 2 }, + "limit": { "context": 32768, "output": 8192 } + }, + "dolphin-2.9.2-qwen2-72b": { + "id": "dolphin-2.9.2-qwen2-72b", + "name": "Dolphin 72B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-09", + "release_date": "2025-05-21", + "last_updated": "2025-05-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.7, "output": 2.8 }, + "limit": { "context": 32768, "output": 8192 } + }, + "deepseek-r1-671b": { + "id": "deepseek-r1-671b", + "name": "DeepSeek R1 671B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2023-10", + "release_date": "2025-06-05", + "last_updated": "2025-06-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 3.5, "output": 14 }, + "limit": { "context": 131072, "output": 8192 } + } + } + }, + "inception": { + "id": "inception", + "env": ["INCEPTION_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.inceptionlabs.ai/v1/", + "name": "Inception", + "doc": "https://platform.inceptionlabs.ai/docs", + "models": { + "mercury-coder": { + "id": "mercury-coder", + "name": "Mercury Coder", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2025-02-26", + "last_updated": "2025-07-31", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 1, "cache_read": 0.25, "cache_write": 1 }, + "limit": { "context": 128000, "output": 16384 } + }, + "mercury": { + "id": "mercury", + "name": "Mercury", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2025-06-26", + "last_updated": "2025-07-31", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 1, "cache_read": 0.25, "cache_write": 1 }, + "limit": { "context": 128000, "output": 16384 } + } + } + }, + "morph": { + "id": "morph", + "env": ["MORPH_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.morphllm.com/v1", + "name": "Morph", + "doc": "https://docs.morphllm.com/api-reference/introduction", + "models": { + "morph-v3-fast": { + "id": "morph-v3-fast", + "name": "Morph v3 Fast", + "attachment": false, + "reasoning": false, + "temperature": false, + "tool_call": false, + "release_date": "2024-08-15", + "last_updated": "2024-08-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 1.2 }, + "limit": { "context": 16000, "output": 16000 } + }, + "morph-v3-large": { + "id": "morph-v3-large", + "name": "Morph v3 Large", + "attachment": false, + "reasoning": false, + "temperature": false, + "tool_call": false, + "release_date": "2024-08-15", + "last_updated": "2024-08-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.9, "output": 1.9 }, + "limit": { "context": 32000, "output": 32000 } + }, + "auto": { + "id": "auto", + "name": "Auto", + "attachment": false, + "reasoning": false, + "temperature": false, + "tool_call": false, + "release_date": "2024-06-01", + "last_updated": "2024-06-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.85, "output": 1.55 }, + "limit": { "context": 32000, "output": 32000 } + } + } + }, + "azure": { + "id": "azure", + "env": ["AZURE_RESOURCE_NAME", "AZURE_API_KEY"], + "npm": "@ai-sdk/azure", + "name": "Azure", + "doc": "https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models", + "models": { + "gpt-4": { + "id": "gpt-4", + "name": "GPT-4", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-11", + "release_date": "2023-03-14", + "last_updated": "2023-03-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 60, "output": 120 }, + "limit": { "context": 8192, "output": 8192 } + }, + "gpt-5": { + "id": "gpt-5", + "name": "GPT-5", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.13 }, + "limit": { "context": 272000, "output": 128000 } + }, + "gpt-5-mini": { + "id": "gpt-5-mini", + "name": "GPT-5 Mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 2, "cache_read": 0.03 }, + "limit": { "context": 272000, "output": 128000 } + }, + "codex-mini": { + "id": "codex-mini", + "name": "Codex Mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-05-16", + "last_updated": "2025-05-16", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.5, "output": 6, "cache_read": 0.375 }, + "limit": { "context": 200000, "output": 100000 } + }, + "gpt-4-turbo-vision": { + "id": "gpt-4-turbo-vision", + "name": "GPT-4 Turbo Vision", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-11", + "release_date": "2023-11-06", + "last_updated": "2024-04-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 10, "output": 30 }, + "limit": { "context": 128000, "output": 4096 } + }, + "gpt-3.5-turbo-0613": { + "id": "gpt-3.5-turbo-0613", + "name": "GPT-3.5 Turbo 0613", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-08", + "release_date": "2023-06-13", + "last_updated": "2023-06-13", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 4 }, + "limit": { "context": 16384, "output": 16384 } + }, + "o1-preview": { + "id": "o1-preview", + "name": "o1-preview", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-09-12", + "last_updated": "2024-09-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 16.5, "output": 66, "cache_read": 8.25 }, + "limit": { "context": 128000, "output": 32768 } + }, + "gpt-4-32k": { + "id": "gpt-4-32k", + "name": "GPT-4 32K", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-11", + "release_date": "2023-03-14", + "last_updated": "2023-03-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 60, "output": 120 }, + "limit": { "context": 32768, "output": 32768 } + }, + "gpt-4-turbo": { + "id": "gpt-4-turbo", + "name": "GPT-4 Turbo", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-11", + "release_date": "2023-11-06", + "last_updated": "2024-04-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 10, "output": 30 }, + "limit": { "context": 128000, "output": 4096 } + }, + "gpt-5-nano": { + "id": "gpt-5-nano", + "name": "GPT-5 Nano", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.05, "output": 0.4, "cache_read": 0.01 }, + "limit": { "context": 272000, "output": 128000 } + }, + "gpt-4.1-nano": { + "id": "gpt-4.1-nano", + "name": "GPT-4.1 nano", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.03 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "gpt-3.5-turbo-0125": { + "id": "gpt-3.5-turbo-0125", + "name": "GPT-3.5 Turbo 0125", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-08", + "release_date": "2024-01-25", + "last_updated": "2024-01-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.5, "output": 1.5 }, + "limit": { "context": 16384, "output": 16384 } + }, + "gpt-4o-mini": { + "id": "gpt-4o-mini", + "name": "GPT-4o mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.08 }, + "limit": { "context": 128000, "output": 16384 } + }, + "gpt-4.1": { + "id": "gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "gpt-3.5-turbo-instruct": { + "id": "gpt-3.5-turbo-instruct", + "name": "GPT-3.5 Turbo Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-08", + "release_date": "2023-09-21", + "last_updated": "2023-09-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.5, "output": 2 }, + "limit": { "context": 4096, "output": 4096 } + }, + "o1-mini": { + "id": "o1-mini", + "name": "o1-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-09-12", + "last_updated": "2024-09-12", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.55 }, + "limit": { "context": 128000, "output": 65536 } + }, + "gpt-4o": { + "id": "gpt-4o", + "name": "GPT-4o", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-05-13", + "last_updated": "2024-05-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2.5, "output": 10, "cache_read": 1.25 }, + "limit": { "context": 128000, "output": 16384 } + }, + "gpt-5-chat": { + "id": "gpt-5-chat", + "name": "GPT-5 Chat", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.13 }, + "limit": { "context": 272000, "output": 128000 } + }, + "gpt-4.1-mini": { + "id": "gpt-4.1-mini", + "name": "GPT-4.1 mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 1.6, "cache_read": 0.1 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "o3": { + "id": "o3", + "name": "o3", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "o1": { + "id": "o1", + "name": "o1", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-12-05", + "last_updated": "2024-12-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 60, "cache_read": 7.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "gpt-3.5-turbo-0301": { + "id": "gpt-3.5-turbo-0301", + "name": "GPT-3.5 Turbo 0301", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-08", + "release_date": "2023-03-01", + "last_updated": "2023-03-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.5, "output": 2 }, + "limit": { "context": 4096, "output": 4096 } + }, + "o3-mini": { + "id": "o3-mini", + "name": "o3-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2024-12-20", + "last_updated": "2025-01-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.55 }, + "limit": { "context": 200000, "output": 100000 } + }, + "gpt-3.5-turbo-1106": { + "id": "gpt-3.5-turbo-1106", + "name": "GPT-3.5 Turbo 1106", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "knowledge": "2021-08", + "release_date": "2023-11-06", + "last_updated": "2023-11-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1, "output": 2 }, + "limit": { "context": 16384, "output": 16384 } + }, + "o4-mini": { + "id": "o4-mini", + "name": "o4-mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.28 }, + "limit": { "context": 200000, "output": 100000 } + } + } + }, + "requesty": { + "id": "requesty", + "env": ["REQUESTY_API_KEY"], + "npm": "@requesty/ai-sdk", + "name": "Requesty", + "doc": "https://requesty.ai/solution/llm-routing/models", + "models": { + "anthropic/claude-3-7-sonnet": { + "id": "anthropic/claude-3-7-sonnet", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-01", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "anthropic/claude-4-sonnet-20250522": { + "id": "anthropic/claude-4-sonnet-20250522", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "anthropic/claude-opus-4": { + "id": "anthropic/claude-opus-4", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "anthropic/claude-opus-4-1-20250805": { + "id": "anthropic/claude-opus-4-1-20250805", + "name": "Claude Opus 4.1", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "openai/gpt-5": { + "id": "openai/gpt-5", + "name": "GPT-5", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "audio", "image", "video"], "output": ["text", "audio", "image"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.13 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-5-mini": { + "id": "openai/gpt-5-mini", + "name": "GPT-5 Mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 2, "cache_read": 0.03 }, + "limit": { "context": 128000, "output": 32000 } + }, + "openai/gpt-5-nano": { + "id": "openai/gpt-5-nano", + "name": "GPT-5 Nano", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.05, "output": 0.4, "cache_read": 0.01 }, + "limit": { "context": 16000, "output": 4000 } + }, + "openai/gpt-4o-mini": { + "id": "openai/gpt-4o-mini", + "name": "GPT-4o Mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.08 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4.1": { + "id": "openai/gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/gpt-4.1-mini": { + "id": "openai/gpt-4.1-mini", + "name": "GPT-4.1 Mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 1.6, "cache_read": 0.1 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/o4-mini": { + "id": "openai/o4-mini", + "name": "o4 Mini", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.28 }, + "limit": { "context": 200000, "output": 100000 } + }, + "google/gemini-2.5-pro": { + "id": "google/gemini-2.5-pro", + "name": "Gemini 2.5 Pro", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-17", + "last_updated": "2025-06-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31, "cache_write": 2.375 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "google/gemini-2.5-flash": { + "id": "google/gemini-2.5-flash", + "name": "Gemini 2.5 Flash", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-17", + "last_updated": "2025-06-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 2.5, "cache_read": 0.075, "cache_write": 0.55 }, + "limit": { "context": 1048576, "output": 65536 } + } + } + }, + "upstage": { + "id": "upstage", + "env": ["UPSTAGE_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.upstage.ai", + "name": "Upstage", + "doc": "https://developers.upstage.ai/docs/apis/chat", + "models": { + "solar-pro2": { + "id": "solar-pro2", + "name": "solar-pro2", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03", + "release_date": "2025-05-20", + "last_updated": "2025-05-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 0.25 }, + "limit": { "context": 65536, "output": 8192 } + }, + "solar-mini": { + "id": "solar-mini", + "name": "solar-mini", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2024-06-12", + "last_updated": "2025-04-22", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.15 }, + "limit": { "context": 32768, "output": 4096 } + } + } + }, + "modelscope": { + "id": "modelscope", + "env": ["MODELSCOPE_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api-inference.modelscope.cn/v1", + "name": "ModelScope", + "doc": "https://modelscope.cn/docs/model-service/API-Inference/intro", + "models": { + "ZhipuAI/GLM-4.5": { + "id": "ZhipuAI/GLM-4.5", + "name": "GLM-4.5", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 98304 } + }, + "Qwen/Qwen3-30B-A3B-Instruct-2507": { + "id": "Qwen/Qwen3-30B-A3B-Instruct-2507", + "name": "Qwen3 30B A3B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-30", + "last_updated": "2025-07-30", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 16384 } + }, + "Qwen/Qwen3-30B-A3B-Thinking-2507": { + "id": "Qwen/Qwen3-30B-A3B-Thinking-2507", + "name": "Qwen3 30B A3B Thinking 2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-30", + "last_updated": "2025-07-30", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 32768 } + }, + "Qwen/Qwen3-235B-A22B-Thinking-2507": { + "id": "Qwen/Qwen3-235B-A22B-Thinking-2507", + "name": "Qwen3-235B-A22B-Thinking-2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-235B-A22B-Instruct-2507": { + "id": "Qwen/Qwen3-235B-A22B-Instruct-2507", + "name": "Qwen3 235B A22B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-07-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-Coder-30B-A3B-Instruct": { + "id": "Qwen/Qwen3-Coder-30B-A3B-Instruct", + "name": "Qwen3 Coder 30B A3B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-31", + "last_updated": "2025-07-31", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 65536 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct", + "name": "Qwen3-Coder-480B-A35B-Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 66536 } + }, + "moonshotai/Kimi-K2-Instruct": { + "id": "moonshotai/Kimi-K2-Instruct", + "name": "Kimi-K2-Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 16384 } + } + } + }, + "github-copilot": { + "id": "github-copilot", + "env": ["GITHUB_TOKEN"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.githubcopilot.com", + "name": "GitHub Copilot", + "doc": "https://docs.github.com/en/copilot", + "models": { + "claude-3.7-sonnet": { + "id": "claude-3.7-sonnet", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 200000, "output": 8192 } + }, + "gpt-5": { + "id": "gpt-5", + "name": "GPT-5", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 128000 } + }, + "gpt-5-mini": { + "id": "gpt-5-mini", + "name": "GPT-5-mini", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2025-08-13", + "last_updated": "2025-08-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 128000 } + }, + "gemini-2.5-pro": { + "id": "gemini-2.5-pro", + "name": "Gemini 2.5 Pro", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 1048576, "output": 65536 } + }, + "claude-3.5-sonnet": { + "id": "claude-3.5-sonnet", + "name": "Claude Sonnet 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 200000, "output": 8192 } + }, + "claude-opus-4": { + "id": "claude-opus-4", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 80000, "output": 16000 } + }, + "gpt-4.1": { + "id": "gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 16384 } + }, + "claude-opus-41": { + "id": "claude-opus-41", + "name": "Claude Opus 4.1", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2025-03-31", + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 200000, "output": 32000 } + }, + "gpt-4o": { + "id": "gpt-4o", + "name": "GPT-4o", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-05-13", + "last_updated": "2024-05-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 16384 } + }, + "o3": { + "id": "o3", + "name": "o3 (Preview)", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 16384 } + }, + "gemini-2.0-flash-001": { + "id": "gemini-2.0-flash-001", + "name": "Gemini 2.0 Flash", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 1000000, "output": 8192 } + }, + "claude-3.7-sonnet-thought": { + "id": "claude-3.7-sonnet-thought", + "name": "Claude Sonnet 3.7 Thinking", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 200000, "output": 8192 } + }, + "o3-mini": { + "id": "o3-mini", + "name": "o3-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2024-12-20", + "last_updated": "2025-01-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 65536 } + }, + "claude-sonnet-4": { + "id": "claude-sonnet-4", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 200000, "output": 8192 } + }, + "o4-mini": { + "id": "o4-mini", + "name": "o4-mini (Preview)", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": false, + "knowledge": "2024-10", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "limit": { "context": 128000, "output": 65536 } + } + } + }, + "wandb": { + "id": "wandb", + "env": ["WANDB_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.inference.wandb.ai/v1", + "name": "Weights & Biases", + "doc": "https://weave-docs.wandb.ai/guides/integrations/inference/", + "models": { + "deepseek-ai/DeepSeek-R1-0528": { + "id": "deepseek-ai/DeepSeek-R1-0528", + "name": "DeepSeek-R1-0528", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-28", + "last_updated": "2025-05-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.35, "output": 5.4 }, + "limit": { "context": 161000, "output": 163840 } + }, + "deepseek-ai/DeepSeek-V3-0324": { + "id": "deepseek-ai/DeepSeek-V3-0324", + "name": "DeepSeek-V3-0324", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-24", + "last_updated": "2025-03-24", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.14, "output": 2.75 }, + "limit": { "context": 161000, "output": 8192 } + }, + "meta-llama/Llama-4-Scout-17B-16E-Instruct": { + "id": "meta-llama/Llama-4-Scout-17B-16E-Instruct", + "name": "Llama 4 Scout 17B 16E Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-31", + "last_updated": "2025-01-31", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.17, "output": 0.66 }, + "limit": { "context": 64000, "output": 8192 } + }, + "meta-llama/Llama-3.1-8B-Instruct": { + "id": "meta-llama/Llama-3.1-8B-Instruct", + "name": "Meta-Llama-3.1-8B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.22, "output": 0.22 }, + "limit": { "context": 128000, "output": 32768 } + }, + "meta-llama/Llama-3.3-70B-Instruct": { + "id": "meta-llama/Llama-3.3-70B-Instruct", + "name": "Llama-3.3-70B-Instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.71, "output": 0.71 }, + "limit": { "context": 128000, "output": 32768 } + }, + "Qwen/Qwen3-235B-A22B-Thinking-2507": { + "id": "Qwen/Qwen3-235B-A22B-Thinking-2507", + "name": "Qwen3-235B-A22B-Thinking-2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.1 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-235B-A22B-Instruct-2507": { + "id": "Qwen/Qwen3-235B-A22B-Instruct-2507", + "name": "Qwen3 235B A22B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-28", + "last_updated": "2025-07-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.1 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct", + "name": "Qwen3-Coder-480B-A35B-Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 1.5 }, + "limit": { "context": 262144, "output": 66536 } + }, + "moonshotai/Kimi-K2-Instruct": { + "id": "moonshotai/Kimi-K2-Instruct", + "name": "Kimi-K2-Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.35, "output": 4 }, + "limit": { "context": 128000, "output": 16384 } + }, + "microsoft/Phi-4-mini-instruct": { + "id": "microsoft/Phi-4-mini-instruct", + "name": "Phi-4-mini-instruct", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2023-10", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.08, "output": 0.35 }, + "limit": { "context": 128000, "output": 4096 } + } + } + }, + "lmstudio": { + "id": "lmstudio", + "env": ["LMSTUDIO_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "http://127.0.0.1:1234/v1", + "name": "LMStudio", + "doc": "https://lmstudio.ai/models", + "models": { + "openai/gpt-oss-20b": { + "id": "openai/gpt-oss-20b", + "name": "GPT OSS 20B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 131072, "output": 32768 } + }, + "qwen/qwen3-coder-30b": { + "id": "qwen/qwen3-coder-30b", + "name": "Qwen3 Coder 30B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 65536 } + }, + "qwen/qwen3-30b-a3b-2507": { + "id": "qwen/qwen3-30b-a3b-2507", + "name": "Qwen3 30B A3B 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-30", + "last_updated": "2025-07-30", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 262144, "output": 16384 } + } + } + }, + "inference": { + "id": "inference", + "env": ["INFERENCE_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://inference.net/v1", + "name": "Inference", + "doc": "https://inference.net/models", + "models": { + "google/gemma-3": { + "id": "google/gemma-3", + "name": "Google Gemma 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.3 }, + "limit": { "context": 125000, "output": 4096 } + }, + "osmosis/osmosis-structure-0.6b": { + "id": "osmosis/osmosis-structure-0.6b", + "name": "Osmosis Structure 0.6B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.5 }, + "limit": { "context": 4000, "output": 2048 } + }, + "qwen/qwen3-embedding-4b": { + "id": "qwen/qwen3-embedding-4b", + "name": "Qwen 3 Embedding 4B", + "attachment": false, + "reasoning": false, + "temperature": false, + "tool_call": false, + "knowledge": "2024-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.01, "output": 0 }, + "limit": { "context": 32000, "output": 2048 } + }, + "qwen/qwen-2.5-7b-vision-instruct": { + "id": "qwen/qwen-2.5-7b-vision-instruct", + "name": "Qwen 2.5 7B Vision Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.2 }, + "limit": { "context": 125000, "output": 4096 } + }, + "meta/llama-3.2-1b-instruct": { + "id": "meta/llama-3.2-1b-instruct", + "name": "Llama 3.2 1B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.01, "output": 0.01 }, + "limit": { "context": 16000, "output": 4096 } + }, + "meta/llama-3.1-8b-instruct": { + "id": "meta/llama-3.1-8b-instruct", + "name": "Llama 3.1 8B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.025, "output": 0.025 }, + "limit": { "context": 16000, "output": 4096 } + }, + "meta/llama-3.2-3b-instruct": { + "id": "meta/llama-3.2-3b-instruct", + "name": "Llama 3.2 3B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.02, "output": 0.02 }, + "limit": { "context": 16000, "output": 4096 } + }, + "meta/llama-3.2-11b-vision-instruct": { + "id": "meta/llama-3.2-11b-vision-instruct", + "name": "Llama 3.2 11B Vision Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.055, "output": 0.055 }, + "limit": { "context": 16000, "output": 4096 } + }, + "mistral/mistral-nemo-12b-instruct": { + "id": "mistral/mistral-nemo-12b-instruct", + "name": "Mistral Nemo 12B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-12", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.038, "output": 0.1 }, + "limit": { "context": 16000, "output": 4096 } + } + } + }, + "deepseek": { + "id": "deepseek", + "env": ["DEEPSEEK_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.deepseek.com", + "name": "DeepSeek", + "doc": "https://platform.deepseek.com/api-docs/pricing", + "models": { + "deepseek-chat": { + "id": "deepseek-chat", + "name": "DeepSeek Chat", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2024-12-26", + "last_updated": "2025-08-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.57, "output": 1.68, "cache_read": 0.07 }, + "limit": { "context": 128000, "output": 128000 } + }, + "deepseek-reasoner": { + "id": "deepseek-reasoner", + "name": "DeepSeek Reasoner", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-01-20", + "last_updated": "2025-08-21", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.57, "output": 1.68, "cache_read": 0.07 }, + "limit": { "context": 128000, "output": 128000 } + } + } + }, + "moonshotai": { + "id": "moonshotai", + "env": ["MOONSHOT_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.moonshot.ai/v1", + "name": "Moonshot AI", + "doc": "https://platform.moonshot.ai/docs/api/chat", + "models": { + "kimi-k2-0711-preview": { + "id": "kimi-k2-0711-preview", + "name": "Kimi K2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.5, "cache_read": 0.15 }, + "limit": { "context": 131072, "output": 16384 } + }, + "kimi-k2-turbo-preview": { + "id": "kimi-k2-turbo-preview", + "name": "Kimi K2 Turbo", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2.4, "output": 10, "cache_read": 0.6 }, + "limit": { "context": 131072, "output": 16384 } + } + } + }, + "huggingface": { + "id": "huggingface", + "env": ["HF_TOKEN"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://router.huggingface.co/v1", + "name": "Hugging Face", + "doc": "https://huggingface.co/docs/inference-providers", + "models": { + "deepseek-ai/DeepSeek-R1-0528": { + "id": "deepseek-ai/DeepSeek-R1-0528", + "name": "DeepSeek-R1-0528", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-28", + "last_updated": "2025-05-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 3, "output": 5 }, + "limit": { "context": 163840, "output": 163840 } + }, + "deepseek-ai/Deepseek-V3-0324": { + "id": "deepseek-ai/Deepseek-V3-0324", + "name": "DeepSeek-V3-0324", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-24", + "last_updated": "2025-03-24", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.25, "output": 1.25 }, + "limit": { "context": 16384, "output": 8192 } + }, + "zai-org/GLM-4.5-Air": { + "id": "zai-org/GLM-4.5-Air", + "name": "GLM-4.5-Air", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 1.1 }, + "limit": { "context": 128000, "output": 96000 } + }, + "zai-org/GLM-4.5": { + "id": "zai-org/GLM-4.5", + "name": "GLM-4.5", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.2 }, + "limit": { "context": 131072, "output": 98304 } + }, + "Qwen/Qwen3-235B-A22B-Thinking-2507": { + "id": "Qwen/Qwen3-235B-A22B-Thinking-2507", + "name": "Qwen3-235B-A22B-Thinking-2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-25", + "last_updated": "2025-07-25", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 3 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct", + "name": "Qwen3-Coder-480B-A35B-Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 2 }, + "limit": { "context": 262144, "output": 66536 } + }, + "moonshotai/Kimi-K2-Instruct": { + "id": "moonshotai/Kimi-K2-Instruct", + "name": "Kimi-K2-Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 3 }, + "limit": { "context": 131072, "output": 16384 } + } + } + }, + "cerebras": { + "id": "cerebras", + "env": ["CEREBRAS_API_KEY"], + "npm": "@ai-sdk/cerebras", + "name": "Cerebras", + "doc": "https://inference-docs.cerebras.ai/models/overview", + "models": { + "qwen-3-235b-a22b-instruct-2507": { + "id": "qwen-3-235b-a22b-instruct-2507", + "name": "Qwen 3 235B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-22", + "last_updated": "2025-07-22", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 1.2 }, + "limit": { "context": 131000, "output": 32000 } + }, + "gpt-oss-120b": { + "id": "gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.25, "output": 0.69 }, + "limit": { "context": 131072, "output": 32768 } + }, + "qwen-3-coder-480b": { + "id": "qwen-3-coder-480b", + "name": "Qwen 3 Coder 480B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 2 }, + "limit": { "context": 131000, "output": 32000 } + } + } + }, + "zhipuai": { + "id": "zhipuai", + "env": ["ZHIPU_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://open.bigmodel.cn/api/paas/v4", + "name": "Zhipu AI", + "doc": "https://docs.z.ai/guides/overview/pricing", + "models": { + "glm-4.5-air": { + "id": "glm-4.5-air", + "name": "GLM-4.5-Air", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 1.1, "cache_read": 0.03, "cache_write": 0 }, + "limit": { "context": 131072, "output": 98304 } + }, + "glm-4.5v": { + "id": "glm-4.5v", + "name": "GLM 4.5V", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-08-11", + "last_updated": "2025-08-11", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 1.8 }, + "limit": { "context": 64000, "output": 16384 } + }, + "glm-4.5-flash": { + "id": "glm-4.5-flash", + "name": "GLM-4.5-Flash", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0, "cache_read": 0, "cache_write": 0 }, + "limit": { "context": 131072, "output": 98304 } + }, + "glm-4.5": { + "id": "glm-4.5", + "name": "GLM-4.5", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.6, "output": 2.2, "cache_read": 0.11, "cache_write": 0 }, + "limit": { "context": 131072, "output": 98304 } + } + } + }, + "fireworks-ai": { + "id": "fireworks-ai", + "env": ["FIREWORKS_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://api.fireworks.ai/inference/v1/", + "name": "Fireworks AI", + "doc": "https://fireworks.ai/docs/", + "models": { + "accounts/fireworks/gpt-oss-120b": { + "id": "accounts/fireworks/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.6 }, + "limit": { "context": 131072, "output": 32768 } + }, + "accounts/fireworks/gpt-oss-20b": { + "id": "accounts/fireworks/gpt-oss-20b", + "name": "GPT OSS 20B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.05, "output": 0.2 }, + "limit": { "context": 131072, "output": 32768 } + }, + "accounts/fireworks/models/deepseek-v3-0324": { + "id": "accounts/fireworks/models/deepseek-v3-0324", + "name": "Deepseek V3 03-24", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-03-24", + "last_updated": "2025-03-24", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.9, "output": 0.9 }, + "limit": { "context": 160000, "output": 16384 } + }, + "accounts/fireworks/models/deepseek-r1-0528": { + "id": "accounts/fireworks/models/deepseek-r1-0528", + "name": "Deepseek R1 05/28", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-28", + "last_updated": "2025-05-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 3, "output": 8 }, + "limit": { "context": 160000, "output": 16384 } + }, + "accounts/fireworks/models/kimi-k2-instruct": { + "id": "accounts/fireworks/models/kimi-k2-instruct", + "name": "Kimi K2 Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-11", + "last_updated": "2025-07-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 3 }, + "limit": { "context": 128000, "output": 16384 } + }, + "accounts/fireworks/models/qwen3-235b-a22b": { + "id": "accounts/fireworks/models/qwen3-235b-a22b", + "name": "Qwen3 235B-A22B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-04-29", + "last_updated": "2025-04-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.22, "output": 0.88 }, + "limit": { "context": 128000, "output": 16384 } + } + } + }, + "vercel": { + "id": "vercel", + "env": ["AI_GATEWAY_API_KEY"], + "npm": "@ai-sdk/gateway", + "name": "Vercel AI Gateway", + "doc": "https://github.com/vercel/ai/tree/5eb85cc45a259553501f535b8ac79a77d0e79223/packages/gateway", + "models": { + "xai/grok-4": { + "id": "xai/grok-4", + "name": "Grok 4", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-07", + "release_date": "2025-07-09", + "last_updated": "2025-07-09", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 256000, "output": 64000 } + }, + "xai/grok-3": { + "id": "xai/grok-3", + "name": "Grok 3", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.75, "cache_write": 15 }, + "limit": { "context": 131072, "output": 8192 } + }, + "xai/grok-3-mini": { + "id": "xai/grok-3-mini", + "name": "Grok 3 Mini", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 0.5, "cache_read": 0.075, "cache_write": 0.5 }, + "limit": { "context": 131072, "output": 8192 } + }, + "xai/grok-3-fast": { + "id": "xai/grok-3-fast", + "name": "Grok 3 Fast", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 5, "output": 25, "cache_read": 1.25, "cache_write": 25 }, + "limit": { "context": 131072, "output": 8192 } + }, + "xai/grok-3-mini-fast": { + "id": "xai/grok-3-mini-fast", + "name": "Grok 3 Mini Fast", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2025-02-17", + "last_updated": "2025-02-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.6, "output": 4, "cache_read": 0.15, "cache_write": 4 }, + "limit": { "context": 131072, "output": 8192 } + }, + "xai/grok-2": { + "id": "xai/grok-2", + "name": "Grok 2", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 131072, "output": 8192 } + }, + "xai/grok-2-vision": { + "id": "xai/grok-2-vision", + "name": "Grok 2 Vision", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2024-08-20", + "last_updated": "2024-08-20", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 10, "cache_read": 2, "cache_write": 10 }, + "limit": { "context": 8192, "output": 4096 } + }, + "anthropic/claude-4-opus": { + "id": "anthropic/claude-4-opus", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "anthropic/claude-3-haiku": { + "id": "anthropic/claude-3-haiku", + "name": "Claude Haiku 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08-31", + "release_date": "2024-03-13", + "last_updated": "2024-03-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 1.25, "cache_read": 0.03, "cache_write": 0.3 }, + "limit": { "context": 200000, "output": 4096 } + }, + "anthropic/claude-4-1-opus": { + "id": "anthropic/claude-4-1-opus", + "name": "Claude Opus 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 32000 } + }, + "anthropic/claude-3.5-sonnet": { + "id": "anthropic/claude-3.5-sonnet", + "name": "Claude Sonnet 3.5 v2", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04-30", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 8192 } + }, + "anthropic/claude-4-sonnet": { + "id": "anthropic/claude-4-sonnet", + "name": "Claude Sonnet 4", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03-31", + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "anthropic/claude-3.7-sonnet": { + "id": "anthropic/claude-3.7-sonnet", + "name": "Claude Sonnet 3.7", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10-31", + "release_date": "2025-02-19", + "last_updated": "2025-02-19", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15, "cache_read": 0.3, "cache_write": 3.75 }, + "limit": { "context": 200000, "output": 64000 } + }, + "anthropic/claude-3-opus": { + "id": "anthropic/claude-3-opus", + "name": "Claude Opus 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-08-31", + "release_date": "2024-02-29", + "last_updated": "2024-02-29", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 75, "cache_read": 1.5, "cache_write": 18.75 }, + "limit": { "context": 200000, "output": 4096 } + }, + "anthropic/claude-3-5-haiku": { + "id": "anthropic/claude-3-5-haiku", + "name": "Claude Haiku 3.5", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07-31", + "release_date": "2024-10-22", + "last_updated": "2024-10-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 4, "cache_read": 0.08, "cache_write": 1 }, + "limit": { "context": 200000, "output": 8192 } + }, + "amazon/nova-micro": { + "id": "amazon/nova-micro", + "name": "Nova Micro", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.035, "output": 0.14, "cache_read": 0.00875 }, + "limit": { "context": 128000, "output": 8192 } + }, + "amazon/nova-pro": { + "id": "amazon/nova-pro", + "name": "Nova Pro", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 3.2, "cache_read": 0.2 }, + "limit": { "context": 300000, "output": 8192 } + }, + "amazon/nova-lite": { + "id": "amazon/nova-lite", + "name": "Nova Lite", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-12-03", + "last_updated": "2024-12-03", + "modalities": { "input": ["text", "image", "video"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.06, "output": 0.24, "cache_read": 0.015 }, + "limit": { "context": 300000, "output": 8192 } + }, + "openai/gpt-oss-120b": { + "id": "openai/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.5 }, + "limit": { "context": 131072, "output": 32768 } + }, + "openai/gpt-oss-20b": { + "id": "openai/gpt-oss-20b", + "name": "GPT OSS 20B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.07, "output": 0.3 }, + "limit": { "context": 131072, "output": 32768 } + }, + "openai/o4-mini": { + "id": "openai/o4-mini", + "name": "o4-mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.28 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/o3-mini": { + "id": "openai/o3-mini", + "name": "o3-mini", + "attachment": false, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2024-12-20", + "last_updated": "2025-01-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.1, "output": 4.4, "cache_read": 0.55 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/o1": { + "id": "openai/o1", + "name": "o1", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-12-05", + "last_updated": "2024-12-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 15, "output": 60, "cache_read": 7.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/o3": { + "id": "openai/o3", + "name": "o3", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05", + "release_date": "2025-04-16", + "last_updated": "2025-04-16", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 200000, "output": 100000 } + }, + "openai/gpt-4.1-mini": { + "id": "openai/gpt-4.1-mini", + "name": "GPT-4.1 mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 1.6, "cache_read": 0.1 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/gpt-4o": { + "id": "openai/gpt-4o", + "name": "GPT-4o", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-05-13", + "last_updated": "2024-05-13", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2.5, "output": 10, "cache_read": 1.25 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4.1": { + "id": "openai/gpt-4.1", + "name": "GPT-4.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 2, "output": 8, "cache_read": 0.5 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/gpt-4o-mini": { + "id": "openai/gpt-4o-mini", + "name": "GPT-4o mini", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-09", + "release_date": "2024-07-18", + "last_updated": "2024-07-18", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.08 }, + "limit": { "context": 128000, "output": 16384 } + }, + "openai/gpt-4.1-nano": { + "id": "openai/gpt-4.1-nano", + "name": "GPT-4.1 nano", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2025-04-14", + "last_updated": "2025-04-14", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.03 }, + "limit": { "context": 1047576, "output": 32768 } + }, + "openai/gpt-5-nano": { + "id": "openai/gpt-5-nano", + "name": "GPT-5 Nano", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.05, "output": 0.4, "cache_read": 0.01 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-4-turbo": { + "id": "openai/gpt-4-turbo", + "name": "GPT-4 Turbo", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2023-11-06", + "last_updated": "2024-04-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 10, "output": 30 }, + "limit": { "context": 128000, "output": 4096 } + }, + "openai/gpt-5-mini": { + "id": "openai/gpt-5-mini", + "name": "GPT-5 Mini", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-05-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.25, "output": 2, "cache_read": 0.03 }, + "limit": { "context": 400000, "output": 128000 } + }, + "openai/gpt-5": { + "id": "openai/gpt-5", + "name": "GPT-5", + "attachment": true, + "reasoning": true, + "temperature": false, + "tool_call": true, + "knowledge": "2024-09-30", + "release_date": "2025-08-07", + "last_updated": "2025-08-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.13 }, + "limit": { "context": 400000, "output": 128000 } + }, + "google/gemini-2.0-flash": { + "id": "google/gemini-2.0-flash", + "name": "Gemini 2.0 Flash", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.025 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "google/gemini-2.5-flash": { + "id": "google/gemini-2.5-flash", + "name": "Gemini 2.5 Flash", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 2.5, "cache_read": 0.075 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "google/gemini-2.0-flash-lite": { + "id": "google/gemini-2.0-flash-lite", + "name": "Gemini 2.0 Flash Lite", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.075, "output": 0.3 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "google/gemini-2.5-pro": { + "id": "google/gemini-2.5-pro", + "name": "Gemini 2.5 Pro", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "morph/morph-v3-large": { + "id": "morph/morph-v3-large", + "name": "Morph v3 Large", + "attachment": false, + "reasoning": false, + "temperature": false, + "tool_call": false, + "release_date": "2024-08-15", + "last_updated": "2024-08-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.9, "output": 1.9 }, + "limit": { "context": 32000, "output": 32000 } + }, + "morph/morph-v3-fast": { + "id": "morph/morph-v3-fast", + "name": "Morph v3 Fast", + "attachment": false, + "reasoning": false, + "temperature": false, + "tool_call": false, + "release_date": "2024-08-15", + "last_updated": "2024-08-15", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.8, "output": 1.2 }, + "limit": { "context": 16000, "output": 16000 } + }, + "deepseek/deepseek-r1": { + "id": "deepseek/deepseek-r1", + "name": "DeepSeek-R1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-01-20", + "last_updated": "2025-05-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.35, "output": 5.4 }, + "limit": { "context": 128000, "output": 32768 } + }, + "deepseek/deepseek-r1-distill-llama-70b": { + "id": "deepseek/deepseek-r1-distill-llama-70b", + "name": "DeepSeek R1 Distill Llama 70B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-01-20", + "last_updated": "2025-01-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.75, "output": 0.99 }, + "limit": { "context": 131072, "output": 8192 } + }, + "moonshotai/kimi-k2": { + "id": "moonshotai/kimi-k2", + "name": "Kimi K2 Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 3 }, + "limit": { "context": 131072, "output": 16384 } + }, + "meta/llama-3.3-70b": { + "id": "meta/llama-3.3-70b", + "name": "Llama-3.3-70B-Instruct", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "meta/llama-4-maverick": { + "id": "meta/llama-4-maverick", + "name": "Llama-4-Maverick-17B-128E-Instruct-FP8", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "meta/llama-4-scout": { + "id": "meta/llama-4-scout", + "name": "Llama-4-Scout-17B-16E-Instruct-FP8", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0, "output": 0 }, + "limit": { "context": 128000, "output": 4096 } + }, + "cerebras/qwen3-coder": { + "id": "cerebras/qwen3-coder", + "name": "Qwen 3 Coder 480B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 2 }, + "limit": { "context": 131000, "output": 32000 } + }, + "vercel/v0-1.5-md": { + "id": "vercel/v0-1.5-md", + "name": "v0-1.5-md", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-06-09", + "last_updated": "2025-06-09", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15 }, + "limit": { "context": 128000, "output": 32000 } + }, + "vercel/v0-1.0-md": { + "id": "vercel/v0-1.0-md", + "name": "v0-1.0-md", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-05-22", + "last_updated": "2025-05-22", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 3, "output": 15 }, + "limit": { "context": 128000, "output": 32000 } + }, + "mistral/mistral-large": { + "id": "mistral/mistral-large", + "name": "Mistral Large", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2024-11-01", + "last_updated": "2024-11-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 6 }, + "limit": { "context": 131072, "output": 16384 } + }, + "mistral/ministral-3b": { + "id": "mistral/ministral-3b", + "name": "Ministral 3B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-10-01", + "last_updated": "2024-10-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.04, "output": 0.04 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral/pixtral-12b": { + "id": "mistral/pixtral-12b", + "name": "Pixtral 12B", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2024-09-01", + "last_updated": "2024-09-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.15 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral/magistral-medium": { + "id": "mistral/magistral-medium", + "name": "Magistral Medium", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-06", + "release_date": "2025-03-17", + "last_updated": "2025-03-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 5 }, + "limit": { "context": 128000, "output": 16384 } + }, + "mistral/mixtral-8x22b-instruct": { + "id": "mistral/mixtral-8x22b-instruct", + "name": "Mixtral 8x22B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-04-17", + "last_updated": "2024-04-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 6 }, + "limit": { "context": 64000, "output": 64000 } + }, + "mistral/ministral-8b": { + "id": "mistral/ministral-8b", + "name": "Ministral 8B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-10-01", + "last_updated": "2024-10-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.1 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral/magistral-small": { + "id": "mistral/magistral-small", + "name": "Magistral Small", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-06", + "release_date": "2025-03-17", + "last_updated": "2025-03-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 1.5 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral/pixtral-large": { + "id": "mistral/pixtral-large", + "name": "Pixtral Large", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2024-11-01", + "last_updated": "2024-11-04", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 6 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral/codestral": { + "id": "mistral/codestral", + "name": "Codestral", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-05-29", + "last_updated": "2025-01-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 0.9 }, + "limit": { "context": 256000, "output": 4096 } + }, + "mistral/mistral-small": { + "id": "mistral/mistral-small", + "name": "Mistral Small", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03", + "release_date": "2024-09-01", + "last_updated": "2024-09-04", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.3 }, + "limit": { "context": 128000, "output": 16384 } + } + } + }, + "submodel": { + "id": "submodel", + "env": ["SUBMODEL_INSTAGEN_ACCESS_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://llm.submodel.ai/v1", + "name": "submodel", + "doc": "https://submodel.gitbook.io", + "models": { + "openai/gpt-oss-120b": { + "id": "openai/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.5 }, + "limit": { "context": 131072, "output": 32768 } + }, + "deepseek-ai/DeepSeek-V3.1": { + "id": "deepseek-ai/DeepSeek-V3.1", + "name": "DeepSeek V3.1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 75000, "output": 163840 } + }, + "deepseek-ai/DeepSeek-R1-0528": { + "id": "deepseek-ai/DeepSeek-R1-0528", + "name": "DeepSeek R1 0528", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.5, "output": 2.15 }, + "limit": { "context": 75000, "output": 163840 } + }, + "deepseek-ai/DeepSeek-V3-0324": { + "id": "deepseek-ai/DeepSeek-V3-0324", + "name": "DeepSeek V3 0324", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 75000, "output": 163840 } + }, + "zai-org/GLM-4.5-FP8": { + "id": "zai-org/GLM-4.5-FP8", + "name": "GLM 4.5 FP8", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 131072, "output": 131072 } + }, + "zai-org/GLM-4.5-Air": { + "id": "zai-org/GLM-4.5-Air", + "name": "GLM 4.5 Air", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-07-28", + "last_updated": "2025-07-28", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.5 }, + "limit": { "context": 131072, "output": 131072 } + }, + "Qwen/Qwen3-235B-A22B-Thinking-2507": { + "id": "Qwen/Qwen3-235B-A22B-Thinking-2507", + "name": "Qwen3 235B A22B Thinking 2507", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.6 }, + "limit": { "context": 262144, "output": 131072 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", + "name": "Qwen3 Coder 480B A35B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.2, "output": 0.8 }, + "limit": { "context": 262144, "output": 262144 } + }, + "Qwen/Qwen3-235B-A22B-Instruct-2507": { + "id": "Qwen/Qwen3-235B-A22B-Instruct-2507", + "name": "Qwen3 235B A22B Instruct 2507", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-23", + "last_updated": "2025-08-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.3 }, + "limit": { "context": 262144, "output": 131072 } + } + } + }, + "google-vertex": { + "id": "google-vertex", + "env": ["GOOGLE_VERTEX_PROJECT", "GOOGLE_VERTEX_LOCATION", "GOOGLE_APPLICATION_CREDENTIALS"], + "npm": "@ai-sdk/google-vertex", + "name": "Vertex", + "doc": "https://cloud.google.com/vertex-ai/generative-ai/docs/models", + "models": { + "gemini-2.5-pro": { + "id": "gemini-2.5-pro", + "name": "Gemini 2.5 Pro", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-03-20", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.0-flash-lite": { + "id": "gemini-2.0-flash-lite", + "name": "Gemini 2.0 Flash Lite", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.075, "output": 0.3 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "gemini-2.5-flash": { + "id": "gemini-2.5-flash", + "name": "Gemini 2.5 Flash", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-17", + "last_updated": "2025-06-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.3, "output": 2.5, "cache_read": 0.075, "cache_write": 0.383 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-pro-preview-06-05": { + "id": "gemini-2.5-pro-preview-06-05", + "name": "Gemini 2.5 Pro Preview 06-05", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-05", + "last_updated": "2025-06-05", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.0-flash": { + "id": "gemini-2.0-flash", + "name": "Gemini 2.0 Flash", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-12-11", + "last_updated": "2024-12-11", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.025 }, + "limit": { "context": 1048576, "output": 8192 } + }, + "gemini-2.5-flash-preview-05-20": { + "id": "gemini-2.5-flash-preview-05-20", + "name": "Gemini 2.5 Flash Preview 05-20", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-05-20", + "last_updated": "2025-05-20", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.0375 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-pro-preview-05-06": { + "id": "gemini-2.5-pro-preview-05-06", + "name": "Gemini 2.5 Pro Preview 05-06", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-05-06", + "last_updated": "2025-05-06", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 1.25, "output": 10, "cache_read": 0.31 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-flash-preview-04-17": { + "id": "gemini-2.5-flash-preview-04-17", + "name": "Gemini 2.5 Flash Preview 04-17", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-04-17", + "last_updated": "2025-04-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.15, "output": 0.6, "cache_read": 0.0375 }, + "limit": { "context": 1048576, "output": 65536 } + }, + "gemini-2.5-flash-lite-preview-06-17": { + "id": "gemini-2.5-flash-lite-preview-06-17", + "name": "Gemini 2.5 Flash Lite Preview 06-17", + "attachment": true, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-01", + "release_date": "2025-06-17", + "last_updated": "2025-06-17", + "modalities": { "input": ["text", "image", "audio", "video", "pdf"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.1, "output": 0.4, "cache_read": 0.025 }, + "limit": { "context": 65536, "output": 65536 } + } + } + }, + "groq": { + "id": "groq", + "env": ["GROQ_API_KEY"], + "npm": "@ai-sdk/groq", + "name": "Groq", + "doc": "https://console.groq.com/docs/models", + "models": { + "deepseek-r1-distill-llama-70b": { + "id": "deepseek-r1-distill-llama-70b", + "name": "DeepSeek R1 Distill Llama 70B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-01-20", + "last_updated": "2025-01-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.75, "output": 0.99 }, + "limit": { "context": 131072, "output": 8192 } + }, + "llama-guard-3-8b": { + "id": "llama-guard-3-8b", + "name": "Llama Guard 3 8B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.2 }, + "limit": { "context": 8192, "output": 8192 } + }, + "llama3-70b-8192": { + "id": "llama3-70b-8192", + "name": "Llama 3 70B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-03", + "release_date": "2024-04-18", + "last_updated": "2024-04-18", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.59, "output": 0.79 }, + "limit": { "context": 8192, "output": 8192 } + }, + "llama-3.3-70b-versatile": { + "id": "llama-3.3-70b-versatile", + "name": "Llama 3.3 70B Versatile", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.59, "output": 0.79 }, + "limit": { "context": 131072, "output": 32768 } + }, + "llama-3.1-8b-instant": { + "id": "llama-3.1-8b-instant", + "name": "Llama 3.1 8B Instant", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-07-23", + "last_updated": "2024-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.05, "output": 0.08 }, + "limit": { "context": 131072, "output": 8192 } + }, + "qwen-qwq-32b": { + "id": "qwen-qwq-32b", + "name": "Qwen QwQ 32B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2024-11-27", + "last_updated": "2024-11-27", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.29, "output": 0.39 }, + "limit": { "context": 131072, "output": 16384 } + }, + "gemma2-9b-it": { + "id": "gemma2-9b-it", + "name": "Gemma 2 9B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-06", + "release_date": "2024-06-27", + "last_updated": "2024-06-27", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.2 }, + "limit": { "context": 8192, "output": 8192 } + }, + "mistral-saba-24b": { + "id": "mistral-saba-24b", + "name": "Mistral Saba 24B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-02-06", + "last_updated": "2025-02-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.79, "output": 0.79 }, + "limit": { "context": 32768, "output": 32768 } + }, + "llama3-8b-8192": { + "id": "llama3-8b-8192", + "name": "Llama 3 8B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-03", + "release_date": "2024-04-18", + "last_updated": "2024-04-18", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.05, "output": 0.08 }, + "limit": { "context": 8192, "output": 8192 } + }, + "openai/gpt-oss-120b": { + "id": "openai/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.75 }, + "limit": { "context": 131072, "output": 32768 } + }, + "openai/gpt-oss-20b": { + "id": "openai/gpt-oss-20b", + "name": "GPT OSS 20B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.5 }, + "limit": { "context": 131072, "output": 32768 } + }, + "meta-llama/llama-guard-4-12b": { + "id": "meta-llama/llama-guard-4-12b", + "name": "Llama Guard 4 12B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": false, + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.2 }, + "limit": { "context": 131072, "output": 128 } + }, + "meta-llama/llama-4-maverick-17b-128e-instruct": { + "id": "meta-llama/llama-4-maverick-17b-128e-instruct", + "name": "Llama 4 Maverick 17B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.2, "output": 0.6 }, + "limit": { "context": 131072, "output": 8192 } + }, + "meta-llama/llama-4-scout-17b-16e-instruct": { + "id": "meta-llama/llama-4-scout-17b-16e-instruct", + "name": "Llama 4 Scout 17B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-08", + "release_date": "2025-04-05", + "last_updated": "2025-04-05", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.11, "output": 0.34 }, + "limit": { "context": 131072, "output": 8192 } + }, + "qwen/qwen3-32b": { + "id": "qwen/qwen3-32b", + "name": "Qwen3 32B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11-08", + "release_date": "2024-12-23", + "last_updated": "2024-12-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.29, "output": 0.59 }, + "limit": { "context": 131072, "output": 16384 } + }, + "moonshotai/kimi-k2-instruct": { + "id": "moonshotai/kimi-k2-instruct", + "name": "Kimi K2 Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 3 }, + "limit": { "context": 131072, "output": 16384 } + } + } + }, + "alibaba": { + "id": "alibaba", + "env": ["DASHSCOPE_API_KEY"], + "npm": "@ai-sdk/openai-compatible", + "api": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1", + "name": "Alibaba", + "doc": "https://www.alibabacloud.com/help/en/model-studio/models", + "models": { + "qwen3-coder-plus": { + "id": "qwen3-coder-plus", + "name": "Qwen3 Coder Plus", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 5 }, + "limit": { "context": 1048576, "output": 65536 } + } + } + }, + "mistral": { + "id": "mistral", + "env": ["MISTRAL_API_KEY"], + "npm": "@ai-sdk/mistral", + "name": "Mistral", + "doc": "https://docs.mistral.ai/getting-started/models/", + "models": { + "codestral-latest": { + "id": "codestral-latest", + "name": "Codestral", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-05-29", + "last_updated": "2025-01-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.3, "output": 0.9 }, + "limit": { "context": 256000, "output": 4096 } + }, + "mistral-medium-2508": { + "id": "mistral-medium-2508", + "name": "Mistral Medium 3.1", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-08-12", + "last_updated": "2025-08-12", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 262144, "output": 262144 } + }, + "magistral-medium-latest": { + "id": "magistral-medium-latest", + "name": "Magistral Medium", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-06", + "release_date": "2025-03-17", + "last_updated": "2025-03-20", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 5 }, + "limit": { "context": 128000, "output": 16384 } + }, + "open-mixtral-8x7b": { + "id": "open-mixtral-8x7b", + "name": "Mixtral 8x7B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-01", + "release_date": "2023-12-11", + "last_updated": "2023-12-11", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.7, "output": 0.7 }, + "limit": { "context": 32000, "output": 32000 } + }, + "magistral-small": { + "id": "magistral-small", + "name": "Magistral Small", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2025-06", + "release_date": "2025-03-17", + "last_updated": "2025-03-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.5, "output": 1.5 }, + "limit": { "context": 128000, "output": 128000 } + }, + "pixtral-12b": { + "id": "pixtral-12b", + "name": "Pixtral 12B", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-09", + "release_date": "2024-09-01", + "last_updated": "2024-09-01", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.15 }, + "limit": { "context": 128000, "output": 128000 } + }, + "devstral-small-2507": { + "id": "devstral-small-2507", + "name": "Devstral Small", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-07-10", + "last_updated": "2025-07-10", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.3 }, + "limit": { "context": 128000, "output": 128000 } + }, + "ministral-3b-latest": { + "id": "ministral-3b-latest", + "name": "Ministral 3B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-10-01", + "last_updated": "2024-10-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.04, "output": 0.04 }, + "limit": { "context": 128000, "output": 128000 } + }, + "ministral-8b-latest": { + "id": "ministral-8b-latest", + "name": "Ministral 8B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2024-10-01", + "last_updated": "2024-10-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.1 }, + "limit": { "context": 128000, "output": 128000 } + }, + "devstral-medium-2507": { + "id": "devstral-medium-2507", + "name": "Devstral Medium", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-07-10", + "last_updated": "2025-07-10", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral-medium-2505": { + "id": "mistral-medium-2505", + "name": "Mistral Medium 3", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-07", + "last_updated": "2025-05-07", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": false, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 131072, "output": 131072 } + }, + "open-mistral-7b": { + "id": "open-mistral-7b", + "name": "Mistral 7B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2023-09-27", + "last_updated": "2023-09-27", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.25, "output": 0.25 }, + "limit": { "context": 8000, "output": 8000 } + }, + "mistral-large-latest": { + "id": "mistral-large-latest", + "name": "Mistral Large", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2024-11-01", + "last_updated": "2024-11-04", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 6 }, + "limit": { "context": 131072, "output": 16384 } + }, + "open-mixtral-8x22b": { + "id": "open-mixtral-8x22b", + "name": "Mixtral 8x22B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-04", + "release_date": "2024-04-17", + "last_updated": "2024-04-17", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 6 }, + "limit": { "context": 64000, "output": 64000 } + }, + "mistral-nemo": { + "id": "mistral-nemo", + "name": "Mistral Nemo", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2024-07-01", + "last_updated": "2024-07-01", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.15 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral-medium-latest": { + "id": "mistral-medium-latest", + "name": "Mistral Medium", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-07", + "last_updated": "2025-05-10", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.4, "output": 2 }, + "limit": { "context": 128000, "output": 16384 } + }, + "pixtral-large-latest": { + "id": "pixtral-large-latest", + "name": "Pixtral Large", + "attachment": true, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-11", + "release_date": "2024-11-01", + "last_updated": "2024-11-04", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 6 }, + "limit": { "context": 128000, "output": 128000 } + }, + "mistral-small-latest": { + "id": "mistral-small-latest", + "name": "Mistral Small", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-03", + "release_date": "2024-09-01", + "last_updated": "2024-09-04", + "modalities": { "input": ["text", "image"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.3 }, + "limit": { "context": 128000, "output": 16384 } + }, + "devstral-small-2505": { + "id": "devstral-small-2505", + "name": "Devstral Small 2505", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-05", + "release_date": "2025-05-07", + "last_updated": "2025-05-07", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.1, "output": 0.3 }, + "limit": { "context": 128000, "output": 128000 } + } + } + }, + "togetherai": { + "id": "togetherai", + "env": ["TOGETHER_API_KEY"], + "npm": "@ai-sdk/togetherai", + "name": "Together AI", + "doc": "https://docs.together.ai/docs/serverless-models", + "models": { + "openai/gpt-oss-120b": { + "id": "openai/gpt-oss-120b", + "name": "GPT OSS 120B", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "release_date": "2025-08-05", + "last_updated": "2025-08-05", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.15, "output": 0.6 }, + "limit": { "context": 131072, "output": 131072 } + }, + "deepseek-ai/DeepSeek-V3": { + "id": "deepseek-ai/DeepSeek-V3", + "name": "DeepSeek V3", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": true, + "knowledge": "2024-07", + "release_date": "2025-01-20", + "last_updated": "2025-05-29", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1.25, "output": 1.25 }, + "limit": { "context": 131072, "output": 12288 } + }, + "deepseek-ai/DeepSeek-R1": { + "id": "deepseek-ai/DeepSeek-R1", + "name": "DeepSeek R1", + "attachment": false, + "reasoning": true, + "temperature": true, + "tool_call": false, + "knowledge": "2024-07", + "release_date": "2024-12-26", + "last_updated": "2025-03-24", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 3, "output": 7 }, + "limit": { "context": 163839, "output": 12288 } + }, + "meta-llama/Llama-3.3-70B-Instruct-Turbo": { + "id": "meta-llama/Llama-3.3-70B-Instruct-Turbo", + "name": "Llama 3.3 70B", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2023-12", + "release_date": "2024-12-06", + "last_updated": "2024-12-06", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 0.88, "output": 0.88 }, + "limit": { "context": 131072, "output": 66536 } + }, + "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": { + "id": "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", + "name": "Qwen3 Coder 480B A35B Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2025-04", + "release_date": "2025-07-23", + "last_updated": "2025-07-23", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 2, "output": 2 }, + "limit": { "context": 262144, "output": 66536 } + }, + "moonshotai/Kimi-K2-Instruct": { + "id": "moonshotai/Kimi-K2-Instruct", + "name": "Kimi K2 Instruct", + "attachment": false, + "reasoning": false, + "temperature": true, + "tool_call": true, + "knowledge": "2024-10", + "release_date": "2025-07-14", + "last_updated": "2025-07-14", + "modalities": { "input": ["text"], "output": ["text"] }, + "open_weights": true, + "cost": { "input": 1, "output": 3 }, + "limit": { "context": 131072, "output": 32768 } + } + } + } +} diff --git a/packages/ai/src/models.ts b/packages/ai/src/models.ts new file mode 100644 index 00000000..3a26dfc9 --- /dev/null +++ b/packages/ai/src/models.ts @@ -0,0 +1,131 @@ +import { readFileSync } from "fs"; +import { dirname, join } from "path"; +import { fileURLToPath } from "url"; + +export interface ModelInfo { + id: string; + name: string; + attachment?: boolean; + reasoning?: boolean; + temperature?: boolean; + tool_call?: boolean; + knowledge?: string; + release_date?: string; + last_updated?: string; + modalities?: { + input?: string[]; + output?: string[]; + }; + open_weights?: boolean; + cost?: { + input?: number; + output?: number; + cache_read?: number; + cache_write?: number; + }; + limit?: { + context?: number; + output?: number; + }; + [key: string]: any; +} + +export interface ProviderInfo { + id: string; + env?: string[]; + npm?: string; + api?: string; + name: string; + doc?: string; + models: Record; +} + +export type ModelsData = Record; + +let cachedModels: ModelsData | null = null; + +/** + * Load models data from models.json + * The file is loaded relative to this module's location + */ +export function loadModels(): ModelsData { + if (cachedModels) { + return cachedModels; + } + + try { + // Get the directory of this module + const currentDir = dirname(fileURLToPath(import.meta.url)); + const modelsPath = join(currentDir, "models.json"); + + const data = readFileSync(modelsPath, "utf-8"); + cachedModels = JSON.parse(data); + return cachedModels!; + } catch (error) { + console.error("Failed to load models.json:", error); + // Return empty providers object as fallback + return {}; + } +} + +/** + * Get information about a specific model + */ +export function getModelInfo(modelId: string): ModelInfo | undefined { + const data = loadModels(); + + // Search through all providers + for (const provider of Object.values(data)) { + if (provider.models && provider.models[modelId]) { + return provider.models[modelId]; + } + } + + return undefined; +} + +/** + * Get all models for a specific provider + */ +export function getProviderModels(providerId: string): ModelInfo[] { + const data = loadModels(); + const provider = data[providerId]; + + if (!provider || !provider.models) { + return []; + } + + return Object.values(provider.models); +} + +/** + * Get provider information + */ +export function getProviderInfo(providerId: string): ProviderInfo | undefined { + const data = loadModels(); + return data[providerId]; +} + +/** + * Check if a model supports thinking/reasoning + */ +export function supportsThinking(modelId: string): boolean { + const model = getModelInfo(modelId); + return model?.reasoning === true; +} + +/** + * Check if a model supports tool calling + */ +export function supportsTools(modelId: string): boolean { + const model = getModelInfo(modelId); + return model?.tool_call === true; +} + +/** + * Get all available providers + */ +export function getAllProviders(): ProviderInfo[] { + const data = loadModels(); + return Object.values(data); +} diff --git a/packages/ai/test/test-models.ts b/packages/ai/test/test-models.ts new file mode 100644 index 00000000..f17a6894 --- /dev/null +++ b/packages/ai/test/test-models.ts @@ -0,0 +1,43 @@ +#!/usr/bin/env tsx + +import { loadModels, getModelInfo, getProviderModels, getProviderInfo, getAllProviders, supportsThinking, supportsTools } from "../src/models.js"; + +// Test loading models +console.log("Loading models data..."); +const data = loadModels(); +const providers = getAllProviders(); +console.log(`Loaded ${providers.length} providers\n`); + +// Test getting provider info +console.log("OpenAI provider info:"); +const openai = getProviderInfo("openai"); +if (openai) { + console.log(` Name: ${openai.name}`); + console.log(` NPM: ${openai.npm}`); + console.log(` Models: ${Object.keys(openai.models).length}`); +} + +// Test getting a specific model +console.log("\nGetting info for gpt-4o:"); +const gpt4o = getModelInfo("gpt-4o"); +if (gpt4o) { + console.log(` Name: ${gpt4o.name}`); + console.log(` Context: ${gpt4o.limit?.context}`); + console.log(` Max Output: ${gpt4o.limit?.output}`); + console.log(` Reasoning: ${gpt4o.reasoning}`); + console.log(` Tool Call: ${gpt4o.tool_call}`); +} + +// Test getting provider models +console.log("\nOpenAI models:"); +const openaiModels = getProviderModels("openai"); +console.log(` Found ${openaiModels.length} OpenAI models`); +console.log(` First 5: ${openaiModels.slice(0, 5).map(m => m.id).join(", ")}`); + +// Test checking capabilities +console.log("\nModel capabilities:"); +console.log(` gpt-4o supports thinking: ${supportsThinking("gpt-4o")}`); +console.log(` gpt-4o supports tools: ${supportsTools("gpt-4o")}`); +console.log(` o1 supports thinking: ${supportsThinking("o1")}`); +console.log(` o1 supports tools: ${supportsTools("o1")}`); +console.log(` claude-3-5-sonnet-20241022 supports tools: ${supportsTools("claude-3-5-sonnet-20241022")}`); \ No newline at end of file