Claude API 代理,按 Token 计费。兼容 Anthropic API 格式。
Messages API 兼容官方 Anthropic API 格式,支持流式输出、图像识别、工具调用和扩展思考功能。
/api/v1/messages价格单位:每 1M tokens
| 模型 | 输入 | 输出 | 描述 |
|---|---|---|---|
| claude-fable-5 | $5.0000/1M | $25.0000/1M | 公开高性能,多模态 + 超长上下文 |
| claude-opus-4-8 | $3.0000/1M | $13.0001/1M | 最强 Opus,长时复杂任务 |
| claude-opus-4-7 | $3.6760/1M | $18.3820/1M | 1M 上下文,自适应思维 |
| claude-opus-4-7-thinking | $3.6760/1M | $18.3820/1M | Opus 4.7 + 思考 |
| claude-haiku-4-5-20251001 | $0.3530/1M | $1.7650/1M | 快速实惠 |
| claude-haiku-4-5-20251001-thinking | $0.3530/1M | $1.7650/1M | Haiku + 思考 |
| claude-sonnet-4-20250514 | $1.0590/1M | $5.2950/1M | 均衡性能 |
| claude-sonnet-4-20250514-thinking | $1.0590/1M | $5.2950/1M | Sonnet + 思考 |
| claude-sonnet-4-5-20250929 | $1.0590/1M | $5.2950/1M | Sonnet 4.5 |
| claude-sonnet-4-5-20250929-thinking | $1.0590/1M | $5.2950/1M | Sonnet 4.5 + 思考 |
| claude-sonnet-5 | $1.0000/1M | $4.5000/1M | 最新 Sonnet · 100万上下文 · 自适应思维 |
| claude-sonnet-4-6 | $1.0590/1M | $5.2950/1M | 最新 Sonnet |
| claude-sonnet-4-6-thinking | $1.0590/1M | $5.2950/1M | 最新 Sonnet + 思考 |
| claude-opus-4-6 | $1.7650/1M | $8.8240/1M | 最新 Opus |
| claude-opus-4-6-thinking | $1.7650/1M | $8.8240/1M | 最新 Opus + 思考 |
| claude-opus-4-20250514 | $5.2950/1M | $26.4710/1M | Opus 4 |
| claude-opus-4-20250514-thinking | $5.2950/1M | $26.4710/1M | Opus 4 + 思考 |
| claude-opus-4-5-20251101 | $1.7650/1M | $8.8240/1M | Opus 4.5 |
| claude-opus-4-5-20251101-thinking | $1.7650/1M | $8.8240/1M | Opus 4.5 + 思考 |
curl -X POST https://apimodels.app/api/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5-20250929",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello, Claude!"}
]
}'{
"id": "msg_01XFDUDYJgAACzvnptvVoYEL",
"type": "message",
"role": "assistant",
"content": [
{
"type": "text",
"text": "Hello! How can I help you today?"
}
],
"model": "claude-sonnet-4-5-20250929",
"stop_reason": "end_turn",
"usage": {
"input_tokens": 12,
"output_tokens": 10
}
}对于 *-thinking 模型,您可以启用扩展思考功能来处理复杂推理任务。
curl -X POST https://apimodels.app/api/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5-20250929-thinking",
"max_tokens": 16000,
"thinking": {
"type": "enabled",
"budget_tokens": 10000
},
"messages": [
{"role": "user", "content": "Solve this step by step: What is 15% of 340?"}
]
}'设置 stream: true 以接收 Server-Sent Events (SSE)。
curl -X POST https://apimodels.app/api/v1/messages \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5-20250929",
"max_tokens": 1024,
"stream": true,
"messages": [
{"role": "user", "content": "Write a short poem about coding."}
]
}'积分根据实际 token 使用量计算:
费用 = (input_tokens * 输入价格 + output_tokens * 输出价格) / 1,000,000 积分 = 费用 // 金额单位为美元 ($)
下列所有模型通过统一 API、一个 key 即可调用。点击模型查看完整 playground 与文档。
| 模型 | model 参数 | 价格 | 说明 |
|---|---|---|---|
| Claude Fable 5 | claude-fable-5 | $5 / $25 | Anthropic's latest and most capable public LLM — about 50% cheaper than official. Works with Claude Code & Cursor via the Anthropic API. Ultra-long context, multimodal, complex reasoning, strict safety. |
| Claude Sonnet 5 | claude-sonnet-5 | $1 / $4.5 | Anthropic's newest Sonnet — 1M-token context (default & max), 128K max output, adaptive thinking, and the same tools & platform features as Sonnet 4.6 (Priority Tier not supported). Works with Claude Code & Cursor via the Anthropic API. |
| DeepSeek V4 Flash | deepseek-v4-flash | $0.12 / $0.24 | DeepSeek V4 Flash — the lightweight, high-throughput, cost-effective member of the DeepSeek V4 family for general chat and basic text. 1M-token context, tool calling, streaming; OpenAI-compatible. |
| DeepSeek V4 Pro | deepseek-v4-pro | $0.37 / $0.74 | DeepSeek V4 Pro — DeepSeek’s high-performance model with top-tier reasoning and agent capabilities, 1M-token context, and full thinking (reasoning_content) output. Tool calling, streaming; OpenAI-compatible. |
| Qwen3.7 Max | qwen3.7-max | $1.76 / $5.29 | Alibaba Qwen3.7 Max — the most capable Qwen3.7 model: top-tier reasoning and agent ability, 1M-token context, hybrid thinking. Tool calling, streaming; OpenAI-compatible. |
| Qwen3.7 Plus | qwen3.7-plus | $0.88 / $1.18 | Alibaba Qwen3.7 Plus — the best-value Qwen3.7 model: strong reasoning at a fraction of Max’s price, 1M-token context, hybrid thinking. Tool calling, streaming; OpenAI-compatible. |
| GPT-5.4 | gpt-5-4 | $1.8 / $10.8 | Frontier model for complex professional work and agentic coding. Served via the Responses API with adjustable reasoning effort (low–xhigh), web search, and function calling. |
| GLM-5.2 | glm-5.2 | $1 / $3.5 | Zhipu GLM-5.2 — a reasoning model with strong function-calling / tool-use, served via the OpenAI-compatible chat-completions endpoint. |
| GPT-5.5 | gpt-5-5 | $3 / $18 | OpenAI’s advanced reasoning model for agentic coding, knowledge work, scientific research, and complex multi-step task execution. Served via the Responses API with adjustable reasoning effort (low–xhigh), web search, and function calling. |
| Claude Opus 4.8 | claude-opus-4-8 | $3 / $13 | Anthropic's most capable model yet — built to autonomously carry long, complex work end to end. Ideal for big projects, building agents, and high-stakes scenarios demanding top quality and autonomy. |
| Claude Opus 4.7 | claude-opus-4-7 | $3.676 / $18.382 | Latest Opus model with 1M context, 128K max output, and adaptive thinking — same tools and platform features as Opus 4.6. |
| Claude Opus 4.7 (Thinking) | claude-opus-4-7-thinking | $3.676 / $18.382 | Claude Opus 4.7 with extended thinking explicitly enabled for the most complex reasoning tasks. |
| Gemini 3.5 Flash | gemini-3.5-flash | $0.662 / $3.971 | GA release. Our most intelligent Flash model — consistent leadership on agentic execution, coding, and long-horizon tasks at scale. |
| MiniMax M2.5 | MiniMax-M2.5 | $0.442 / $1.765 | MiniMax M2.5 reaches or sets new SOTA in coding, tool calling, search, and office productivity tasks. |
| Gemini 3.1 Flash Lite | gemini-3.1-flash-lite | $0.375 / $2.25 | Most cost-effective multimodal model with fastest performance for high-frequency lightweight tasks. |
| Gemini 3.1 Pro Preview | gemini-3.1-pro-preview | $0.442 / $2.648 | Latest Pro model with enhanced reasoning and multimodal capabilities. |
| Claude Opus 4.6 | claude-opus-4-6 | $1.765 / $8.824 | Latest Opus model with ultimate performance and reasoning capabilities. |
| Claude Opus 4.6 (Thinking) | claude-opus-4-6-thinking | $1.765 / $8.824 | Claude Opus 4.6 with extended thinking capability for the most complex reasoning tasks. |
| Claude Sonnet 4.6 | claude-sonnet-4-6 | $1.059 / $5.295 | Latest Sonnet model with best performance and efficiency. |
| Claude Sonnet 4.6 (Thinking) | claude-sonnet-4-6-thinking | $1.059 / $5.295 | Claude Sonnet 4.6 with extended thinking capability for complex reasoning tasks. |
| Gemini 3 Flash Preview | gemini-3-flash-preview | $0.111 / $0.662 | Fast and efficient multimodal model. Great for quick responses and simple tasks. |
| Gemini 3 Pro Preview | gemini-3-pro-preview | $0.442 / $2.648 | Advanced multimodal reasoning model with superior capabilities. |
| Gemini 3 Pro (Thinking) | gemini-3-pro-preview-thinking | $0.442 / $2.648 | Gemini 3 Pro with extended thinking capability for complex reasoning tasks. |
| Claude Opus 4.5 | claude-opus-4-5-20251101 | $1.765 / $8.824 | Latest Opus model with enhanced capabilities and improved reasoning. |
| Claude Opus 4.5 (Thinking) | claude-opus-4-5-20251101-thinking | $1.765 / $8.824 | Claude Opus 4.5 with extended thinking capability for the most complex reasoning tasks. |
| Claude Haiku 4.5 | claude-haiku-4-5-20251001 | $0.353 / $1.765 | Fast and affordable model for lightweight tasks. Best for simple queries and quick responses. |
| Claude Haiku 4.5 (Thinking) | claude-haiku-4-5-20251001-thinking | $0.353 / $1.765 | Claude Haiku 4.5 with extended thinking capability for complex reasoning tasks. |
| Claude Sonnet 4.5 | claude-sonnet-4-5-20250929 | $1.059 / $5.295 | Latest Sonnet model with improved performance and efficiency. |
| Claude Sonnet 4.5 (Thinking) | claude-sonnet-4-5-20250929-thinking | $1.059 / $5.295 | Claude Sonnet 4.5 with extended thinking capability for complex reasoning tasks. |
| Gemini 2.5 Pro | gemini-2.5-pro | $0.184 / $1.471 | Powerful multimodal model for complex tasks with excellent performance. |
| Gemini 2.5 Pro (Thinking) | gemini-2.5-pro-thinking | $0.184 / $1.471 | Gemini 2.5 Pro with extended thinking capability for complex reasoning. |
| Gemini 2.5 Flash | gemini-2.5-flash | $0.045 / $0.368 | Fast and cost-effective multimodal model. Best balance of speed and quality. |
| Gemini 2.5 Flash (Thinking) | gemini-2.5-flash-thinking | $0.045 / $0.368 | Gemini 2.5 Flash with extended thinking capability for reasoning tasks. |
| Gemini Flash Lite | gemini-flash-lite-latest | $0.015 / $0.059 | Lightweight and ultra-fast model. Best for simple tasks and high volume. |
| Claude Opus 4 | claude-opus-4-20250514 | $5.295 / $26.471 | Most capable model with superior reasoning and analysis capabilities. |
| Claude Opus 4 (Thinking) | claude-opus-4-20250514-thinking | $5.295 / $26.471 | Claude Opus 4 with extended thinking capability for the most complex reasoning tasks. |
| Claude Sonnet 4 | claude-sonnet-4-20250514 | $1.059 / $5.295 | Balanced model with excellent performance and cost efficiency. Great for most tasks. |
| Claude Sonnet 4 (Thinking) | claude-sonnet-4-20250514-thinking | $1.059 / $5.295 | Claude Sonnet 4 with extended thinking capability for complex reasoning tasks. |
| Text Embedding 3 Small | text-embedding-3-small | $0.018 / 1M tokens | Small embedding model, efficient and cost-effective for most use cases. |
| Text Embedding 3 Large | text-embedding-3-large | $0.059 / 1M tokens | Large embedding model for higher accuracy and flexible dimensions. |