No KYC — no ID, no selfie, no documents. Pay in crypto: BTC, USDT, USDC, ETH, SOL, LTC
Language: English
Get an API key

OpenAI chat completions format · 12 open-weight models

An OpenAI-compatible API: change the base URL, keep your code

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.

Last updated: · 4 min read

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.

Python: the OpenAI SDK pointed at LLMwithCrypto
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)

Which OpenAI features work, and which do not?

What the API accepts on 23 October 2026. The docs give the parameters of each endpoint.

FeatureStatusNotes
POST /v1/chat/completionsSupportedMessages, temperature, max tokens and the usual sampling settings
Streaming (stream: true)Supported on every modelServer-sent events, token by token — see streaming
Tool calling (tools)On models that support itFollows what the model itself supports — see tool calling
JSON output (response_format)On models that support itFollows what the model itself supports
GET /v1/modelsSupportedThe model ids your key can call — see models endpoint
GET /v1/creditsOurs, not OpenAI'sCredit left on the account
Responses API, AssistantsNot offeredUse chat completions
Embeddings, images, audioNot offeredText generation only
Fine-tuning, batch jobsNot offered—

Prices checked on

What do I change in my code?

Two settings, nothing else:

  1. Base URL — https://llmwithcrypto.com/api/v1 instead of OpenAI's.
  2. Model — an id from the models page, such as 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.

What behaves differently from OpenAI?

  • The models. Open-weight models answer differently from GPT. Test your prompts on two or three of them; switching costs one string.
  • Token counts. You pay per token from your balance: input and output tokens are counted by the model’s own tokenizer and charged at that model’s price per 1M tokens. A call that ends in an error costs nothing. The same text can count a few more or fewer tokens than with OpenAI's tokenizer.
  • Features per model. Streaming works on every model; tool calling and JSON output follow what each model itself supports.
  • Limits. Every account has a per-minute request and token limit, shown in the dashboard; ask support and it can be raised.
  • Errors. The status codes follow OpenAI's conventions; the errors page lists ours, including what happens when credit runs out.

Which tools work with it?

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.

What does it cost?

Per token, at each model's price on the pricing page; credit is bought in packs and never expires.

Builder

$50 of API credit

$50

  • One app or agent in daily use
  • Streaming and tool calling
  • Credit never expires
Choose $50 of API credit

Production

$100 of API credit

$100

  • Apps and agents in production
  • Higher rate limit on request
  • Credit never expires
Choose $100 of API credit

In every plan: Every model on one key · Streaming and tool calling · Failed calls not charged · Credit never expires

Compatibility questions

Can I call GPT models through this endpoint?

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.

Does the OpenAI Node.js SDK work?

Yes, with baseURL set to https://llmwithcrypto.com/api/v1. The Node.js page has a complete example.

What happens if I send a parameter a model does not support?

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.

Do I need a separate key per model?

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