DeepInfra Free API Credits and Pricing Guide

🌍 国际 ✅ 免费
⭐ 34 stars

DeepInfra 是面向开发者的开源模型托管 API 平台,覆盖 Llama、Qwen、Mistral、embedding、rerank、图片等模型。 它适合想用 OpenAI 兼容接口快速测试开源模型、但不想自己维护 GPU 的团队。 免费/试用额度、速率限制和可用模型会动态变化,生产接入前必须以 DeepInfra 控制台和官方文档为准。

AI 摘要 · 可引用结论

DeepInfra 是一款category.llm、category.api、图片工具,面向开发者的开源模型托管 API 平台,覆盖 Llama、Qwen、Mistral、embedding、rerank、图片等模型。 它适合想用 OpenAI 兼容接口快速测试开源模型、但不想自己维护 GPU 的团队。 免费/试用额度、速率限制和可用模型会动态变化,生产接入

免费额度Free serverless model testing after account signup; exact quota varies by model and promotion 国内可用性⚠️ 需要代理/海外网络 API支持 API,免费额度:Free trial credits / promotional balance varies by account 更新时间2026-05-31

同类替代:LocalAI、InvokeAI、通义千问 (阿里)

需要国内直连、统一低价调用多个模型,可轻量查看 openllmapi.com

订阅 DeepInfra 额度变动提醒

免费额度、价格、中国大陆访问状态或注册要求变化时,优先邮件提醒。

订阅提醒 →

免费额度详情

🎁 免费额度

每日限制: Free serverless model testing after account signup; exact quota varies by model and promotion

模型上下文限制说明
meta-llama/Meta-Llama-3.1-8B-Instruct 128k Account/model dependent 常用开源聊天模型,适合低成本 API 测试
Qwen/Qwen2.5-Coder-32B-Instruct 32k Account/model dependent 代码生成和重构场景常用
BAAI/bge-large-en-v1.5 512 tokens Account/model dependent 嵌入模型,适合 RAG 原型

🔑 API 免费额度

免费额度: Free trial credits / promotional balance varies by account

速率限制: Model and account dependent; verify dashboard before production

提供 Serverless API、OpenAI 兼容接口和多种开源模型;免费额度与价格会随账号和模型变化。

中国大陆用户完整注册教程

Step 1

打开 DeepInfra 官网并创建账号

Step 2

在 dashboard 中查看 trial balance、billing 和模型价格

Step 3

创建 API key,并优先用 OpenAI-compatible endpoint 做 smoke test

Step 4

先压测目标模型的 RPM、TPM、延迟和错误率,再进入生产

代码示例

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.DEEPINFRA_TOKEN,
  baseURL: 'https://api.deepinfra.com/v1/openai',
});

const completion = await client.chat.completions.create({
  model: 'meta-llama/Meta-Llama-3.1-8B-Instruct',
  messages: [{ role: 'user', content: 'Say hello from DeepInfra.' }],
});

console.log(completion.choices[0].message.content);

中国大陆访问怎么样?

  • 直连:⚠️ 需代理
  • 速度:Variable
  • 中国大陆访问稳定性未确认;建议准备 OpenLLMAPI、OpenRouter、SiliconFlow 或本地模型作为 fallback。

常见问题

DeepInfra 有免费 API 吗?

有试用/促销额度记录,但额度、过期时间和模型限制以账号 dashboard 为准。

DeepInfra 是否兼容 OpenAI SDK?

是,DeepInfra 提供 OpenAI-compatible endpoint,迁移时仍需核对模型名、上下文和流式输出行为。

DeepInfra 适合什么场景?

适合快速测试开源模型、embedding、rerank 和不想自建 GPU 的原型项目。

🔄 相似厂商

总结:谁应该用 DeepInfra?

如果你需要API 免费额度、国际一流水平的 AI 服务,DeepInfra 值得一试。 想省钱?先比较免费额度、官方价格、同类替代和 API 网关方案,再决定是否接入生产。

category.llmcategory.api图片category.embeddingcategory.open-source llmapiopenai-compatibleopen-source-modelsembeddings

🎁 免费资料包

领取 AI 出海工具省钱大礼包

免费 API 清单、出海工具站案例、支付收款表、避坑指南和赚钱路径图,一次打包。

免费领取 →
🐑 小羊助手