OpenAI-Compatible 120B LLM & Embeddings API Paid with USDC & Lightning
Point any existing OpenAI Python, Node.js, LangChain, CrewAI, or AutoGen client directly to https://m2mfreedom.com/v1 and pay strictly per completion or embedding using USDC on Base/Solana or Bitcoin Lightning—with zero KYC or monthly commitments.
Which OpenAI-compatible endpoints and models are supported?
Freedom Engine exposes /v1/chat/completions, /v1/embeddings, /v1/models, /v1/messages (Anthropic-style), and /api/generate (Ollama drop-in), powered by ultra-low-latency LPU inference on GPT-OSS 120B, Qwen 3.8 27B, Llama 3.3 70B, and 1536d/3072d vector embeddings.
How do I authenticate standard OpenAI SDKs without breaking existing code?
Mint a reusable m2m-pass-... key from 50 Sats (~$0.05) at https://m2mfreedom.com/#buy-pass using Base USDC, Solana USDC, or Lightning, and pass it as api_key="m2m-pass-..." with base_url="https://m2mfreedom.com/v1".
Technical Specifications, Endpoints & Pricing Matrix
| Capability / Route | Endpoint / Protocol | Technical Summary | Rate / Guarantee |
|---|---|---|---|
| 120B Chat Completions | POST /v1/chat/completions | GPT-OSS 120B, Qwen 3.8 27B, Llama 3.3 70B | 10 Sats ($0.0094) |
| Semantic Vector Embeddings | POST /v1/embeddings | 1536d / 3072d / 1024d RAG vectors | 10 Sats ($0.0094) |
| Micro-Tier Fast LLM | POST /api/v1/router/tools/micro-llm | Ultra-cheap classification, routing & extraction | 2 Sats ($0.002) |
| Prompt Injection Guardrail | POST /api/v1/router/tools/guardrail | Llama Prompt Guard 2 safety screening | 4 Sats ($0.004) |
Quickstart Code & Pre-Flight Dry-Run Example
Test payload validation for 0 Sats using ?dryRun=true or authenticate immediately via L402, x402, or a 0ms Prepaid Session Pass. Primary endpoint: /v1/chat/completions (10 Sats (2 Sats Micro-LLM) / $0.0094 ($0.002 Micro)).
from openai import OpenAI
client = OpenAI(
base_url="https://m2mfreedom.com/v1",
api_key="m2m-pass-<your-token>"
)
res = client.chat.completions.create(
model="openai/gpt-oss-120b",
messages=[{"role": "user", "content": "Summarize HTTP 402 M2M rails."}]
)
print(res.choices[0].message.content)
Architecture Notes & Operational Guarantees
High-Volume Loyalty Discounts: Spending 500 to 15,000+ Sats unlocks automatic 10% to 25% discounts plus 5% cashback, plus up to +35% bonus Sats on prepaid top-ups.
Zero-Data-Retention Gateway: Prompts are forwarded statelessly over TLS without training retention or personal account profiles.
Frequently Asked Questions
Is there any subscription fee or expiring monthly quota?
No. Prepaid Pass balances never require subscriptions and charge strictly per 200 OK completion.
Does it also support autonomous x402 per-request payment without a Prepaid Pass?
Yes. Unauthenticated requests to /v1/chat/completions return a standard HTTP 402 challenge with Base/Solana/Polygon/Arbitrum USDC (x402) and Lightning BOLT11 (L402).