Start
$25 of API credit
$25
- Try every model
- Same API as the largest pack
- Credit never expires
OpenAI chat completions format · 12 open-weight models
If your app already talks to OpenAI, it can talk to DeepSeek, Qwen, gpt-oss, Llama or Mistral through us by changing two settings: the base URL and the model name. Here is exactly what is compatible, what is not, and how to switch.
Quick answer
Is LLMwithCrypto compatible with the OpenAI API?
Yes, for chat completions. LLMwithCrypto accepts the OpenAI chat completions format at https://llmwithcrypto.com/api/v1/chat/completions, so the official OpenAI SDKs, LangChain and other OpenAI-compatible tools work after you change the base URL and the model name. As of 23 October 2026 it serves 12 open-weight models, billed per token, paid in crypto with no KYC. Other OpenAI endpoints are not offered.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://llmwithcrypto.com/api/v1",
api_key=os.environ["LLMWITHCRYPTO_API_KEY"],
)
resp = client.chat.completions.create(
model="gpt-oss-120b",
messages=[{"role": "user", "content": "Write a haiku about invoices."}],
)
print(resp.choices[0].message.content)
What the API accepts on 23 October 2026. The docs give the parameters of each endpoint.
| Feature | Status | Notes |
|---|---|---|
POST /v1/chat/completions | Supported | Messages, temperature, max tokens and the usual sampling settings |
Streaming (stream: true) | Supported on every model | Server-sent events, token by token — see streaming |
Tool calling (tools) | On models that support it | Follows what the model itself supports — see tool calling |
JSON output (response_format) | On models that support it | Follows what the model itself supports |
GET /v1/models | Supported | The model ids your key can call — see models endpoint |
GET /v1/credits | Ours, not OpenAI's | Credit left on the account |
| Responses API, Assistants | Not offered | Use chat completions |
| Embeddings, images, audio | Not offered | Text generation only |
| Fine-tuning, batch jobs | Not offered | — |
Prices checked on
Two settings, nothing else:
https://llmwithcrypto.com/api/v1 instead of OpenAI's.deepseek-v4-pro or gpt-oss-120b, instead of a GPT name.The key goes where your OpenAI key went. Pass your API key as a Bearer token in the Authorization header, as the OpenAI SDK does. Store it in the LLMWITHCRYPTO_API_KEY environment variable rather than in your code. The switching guide covers Python, Node.js, LangChain and environment-variable setups.
The API speaks the OpenAI chat completions format: point the OpenAI SDK, LangChain or any OpenAI-compatible tool at our base URL with your key, and change the model name. In practice that covers the official OpenAI Python and Node.js SDKs, LangChain's OpenAI chat model with a custom base URL, and agent frameworks or editors that let you set an OpenAI-compatible endpoint. The LangChain page shows the setup.
Per token, at each model's price on the pricing page; credit is bought in packs and never expires.
$25 of API credit
$25
$50 of API credit
$50
$100 of API credit
$100
In every plan: Every model on one key · Streaming and tool calling · Failed calls not charged · Credit never expires
No. We do not sell access to GPT, Claude, Gemini or Grok: their makers forbid reselling API access without their approval, and we do not have it.
Yes, with baseURL set to https://llmwithcrypto.com/api/v1. The Node.js page has a complete example.
Streaming works on every model; tool calling and JSON output follow what each model itself supports. Test the parameter on the model you use; the errors page explains the responses you can get.
No. One key calls every model; Make one API key per app, agent or teammate and revoke any of them from the dashboard without touching the others.
DeepSeek V4 Pro from $1.254 per 1M input tokens · no KYC
Get an API key