Update model names to tinfoil/* prefix
This commit is contained in:
1 parent
a92251d80e
commit
faeb958232
2 files changed
+9
-14
No files matched your search
+6
-6
@@ -25,7 +25,7 @@ API key. The key is an `sk-…` string you pass as a bearer token.
|
|||||||
curl https://gateway.inference.coop/v1/chat/completions \
|
curl https://gateway.inference.coop/v1/chat/completions \
|
||||||
-H "Authorization: Bearer sk-your-key" \
|
-H "Authorization: Bearer sk-your-key" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"model": "deepseek-v4-1-flash", "messages": [{"role": "user", "content": "Hello"}]}'
|
-d '{"model": "tinfoil/deepseek-v4-1-flash", "messages": [{"role": "user", "content": "Hello"}]}'
|
||||||
```
|
```
|
||||||
|
|
||||||
## OpenAI SDK (Python, Node, etc.)
|
## OpenAI SDK (Python, Node, etc.)
|
||||||
@@ -40,7 +40,7 @@ client = OpenAI(
|
|||||||
api_key="sk-your-key",
|
api_key="sk-your-key",
|
||||||
)
|
)
|
||||||
resp = client.chat.completions.create(
|
resp = client.chat.completions.create(
|
||||||
model="deepseek-v4-1-flash",
|
model="tinfoil/deepseek-v4-1-flash",
|
||||||
messages=[{"role": "user", "content": "Hello"}],
|
messages=[{"role": "user", "content": "Hello"}],
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
@@ -57,7 +57,7 @@ endpoint configuration:
|
|||||||
- **API type / protocol:** "OpenAI compatible" (or `openai-completions` where a
|
- **API type / protocol:** "OpenAI compatible" (or `openai-completions` where a
|
||||||
protocol string must be named) — not "Ollama", "Anthropic", or "Responses"
|
protocol string must be named) — not "Ollama", "Anthropic", or "Responses"
|
||||||
- **API key:** your member key (the `sk-…` string)
|
- **API key:** your member key (the `sk-…` string)
|
||||||
- **Model:** one from the [model list](models.md), e.g. `deepseek-v4-1-flash` or `greenpt/green-r`
|
- **Model:** one from the [model list](models.md), e.g. `tinfoil/deepseek-v4-1-flash` or `greenpt/green-r`
|
||||||
|
|
||||||
A typical provider entry looks like:
|
A typical provider entry looks like:
|
||||||
|
|
||||||
@@ -69,9 +69,9 @@ A typical provider entry looks like:
|
|||||||
"api": "openai-completions",
|
"api": "openai-completions",
|
||||||
"apiKey": "sk-your-key",
|
"apiKey": "sk-your-key",
|
||||||
"models": [
|
"models": [
|
||||||
{ "id": "deepseek-v4-1-flash" },
|
{ "id": "tinfoil/deepseek-v4-1-flash" },
|
||||||
{ "id": "gpt-oss-120b" },
|
{ "id": "tinfoil/gpt-oss-120b" },
|
||||||
{ "id": "glm-5-3-flash" },
|
{ "id": "tinfoil/glm-5-3-flash" },
|
||||||
{ "id": "greenpt/green-r" },
|
{ "id": "greenpt/green-r" },
|
||||||
{ "id": "greenpt/green-l" }
|
{ "id": "greenpt/green-l" }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ provider — your own cost is your monthly allowance, not per-token billing).
|
|||||||
|
|
||||||
| Model | Provider | Value | Pricing (in / out) | Notes |
|
| Model | Provider | Value | Pricing (in / out) | Notes |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| `deepseek-v4-1-flash` | Tinfoil | **private** | $0.65 / $1.45 | Default; best for agentic tasks (1M context, tool calling). |
|
| `tinfoil/deepseek-v4-1-flash` | Tinfoil | **private** | $0.65 / $1.45 | Default; best for agentic tasks (1M context, tool calling). |
|
||||||
| `gpt-oss-120b` | Tinfoil | **private** | $0.15 / $0.60 | Lightweight fallback. |
|
| `tinfoil/gpt-oss-120b` | Tinfoil | **private** | $0.15 / $0.60 | Lightweight fallback. |
|
||||||
| `glm-5-3-flash` | Tinfoil | **private** | $0.40 / $1.25 | Fast, efficient MoE model. |
|
| `tinfoil/glm-5-3-flash` | Tinfoil | **private** | $0.40 / $1.25 | Fast, efficient MoE model. |
|
||||||
| `greenpt/green-r` | GreenPT | **green** | $0.35 / $0.95 | Reasoning, renewable energy. |
|
| `greenpt/green-r` | GreenPT | **green** | $0.35 / $0.95 | Reasoning, renewable energy. |
|
||||||
| `greenpt/green-l` | GreenPT | **green** | $0.25 / $0.80 | Lightweight, renewable energy. |
|
| `greenpt/green-l` | GreenPT | **green** | $0.25 / $0.80 | Lightweight, renewable energy. |
|
||||||
|
|
||||||
@@ -34,11 +34,6 @@ numbers. Pricing here mirrors the `model_info` in the LiteLLM config
|
|||||||
(`code/litellm/config.yaml`), which is the authoritative source — the two are
|
(`code/litellm/config.yaml`), which is the authoritative source — the two are
|
||||||
kept in sync.
|
kept in sync.
|
||||||
|
|
||||||
> **Note:** the three Tinfoil models currently use their bare names (no
|
|
||||||
> `tinfoil/` prefix). They'll be renamed to `tinfoil/deepseek-v4-1-flash` and so
|
|
||||||
> on in an upcoming change — we'll email members before that happens. GreenPT
|
|
||||||
> models already use the `greenpt/` prefix.
|
|
||||||
|
|
||||||
## Limitations on privacy
|
## Limitations on privacy
|
||||||
|
|
||||||
Only **Tinfoil** offers architectural privacy. The other providers are chosen
|
Only **Tinfoil** offers architectural privacy. The other providers are chosen
|
||||||
|
|||||||
Reference in new issue
Block a user