ブランドNVIDIA (39)SK hynix (25)Samsung (16)Intel (11)Micron (11)White label (OEM) (11)CXMT (2)JTR (2)Seagate (1)Kingston (1)
容量 (GB)2G (1)4G (3)8G (25)12G (10)16G (25)24G (6)32G (27)36G (3)40G (1)48G (6)64G (24)72G (1)80G (2)84G (1)96G (9)128G (10)141G (1)256G (3)480G (2)500G (1)512G (2)1000G (2)1920G (1)2000G (2)3840G (2)4000G (1)4096G (1)6000G (1)7680G (1)10240G (1)15360G (1)
速度0 (10)1333 (1)1600 (2)1866 (1)2000 (1)2133 (5)2400 (9)2666 (12)2933 (7)3200 (15)3600 (1)4800 (9)5600 (29)6000 (1)6400 (11)8000 (2)9200 (3)
AI API docs
One base URL, one key, 94 models. This endpoint is a drop-in replacement for the OpenAI Chat Completions API: change the base URL and the key, keep your code.
1. Endpoint
| Base URL | https://memoryb2b.com/v1 |
| Chat completions | POST https://memoryb2b.com/v1/chat/completions |
| Auth | Authorization: Bearer <your key> |
| Models | Our display names (e.g. DeepSeek V4.1 Flash) or upstream ids — full list on the model discount page |
Create keys in your token portal (opened with the email link). Up to 10 active keys per account; each key can carry its own spend cap.
2. First call
curl https://memoryb2b.com/v1/chat/completions \
-H "Authorization: Bearer $MB2B_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "DeepSeek V4.1 Flash",
"messages": [{"role": "user", "content": "One-line summary please."}],
"stream": false}'
With the official OpenAI SDKs only two lines change — base_url and api_key:
from openai import OpenAI
client = OpenAI(base_url="https://memoryb2b.com/v1", api_key=os.environ["MB2B_KEY"])
r = client.chat.completions.create(
model="DeepSeek V4.1 Flash",
messages=[{"role": "user", "content": "hi"}])
print(r.choices[0].message.content)
3. Streaming
Pass "stream": true for Server-Sent Events, OpenAI format
(text/event-stream, final usage chunk included).
Streaming is the default when you omit the field.
4. Billing
- Prepaid USD balance; charged per token at the model's discounted rate.
- Your discount tier follows your lifetime top-up — see the tier table (up to 40% off).
- Responses carry
usage; your portal shows spend per key and per model.
5. Errors
401 | Missing / disabled key |
402 | Balance is $0 — top up at /tokens/ |
404 | Unknown model name |
502 / 503 | Upstream supplier issue — retry or pick another model |
Questions about a model, a price or volume terms: email aya@memoryb2b.com or start the on-page chat.