models: three member-facing embedding models (nomic un-scoped, green-embeddings added)
- tinfoil/nomic-embed-text is now member-facing ($0.016/1M per Tinfoil's catalog, TEE-protected, 768-dim, 8K ctx) — the model the co-op's own docs search runs on inside the TEE. - greenpt/green-embeddings added ($0.20/1M, 2560-dim measured, 32K ctx) — the only genuinely distinct other embedding model in GreenPT's catalog. - Embedding table now lists all three with pricing; quick-guide bullet updated.
This commit is contained in:
1 parent
b263e125c4
commit
af4f96ad13
1 file changed
+14
-9
@@ -54,9 +54,10 @@ that **you choose** which axis matters more for a given task.
|
|||||||
- **Cheap and cheerful** → `tinfoil/gpt-oss-120b` or `greenpt/glm-5.3-flash`.
|
- **Cheap and cheerful** → `tinfoil/gpt-oss-120b` or `greenpt/glm-5.3-flash`.
|
||||||
- **Model origins matter to you** → the Apertus models (publicly developed;
|
- **Model origins matter to you** → the Apertus models (publicly developed;
|
||||||
see below).
|
see below).
|
||||||
- **Semantic search / RAG (API)** → `greenpt/qwen3-embedding-8b` — the
|
- **Semantic search / RAG (API)** → an embedding model: `greenpt/qwen3-embedding-8b`
|
||||||
embedding model, on renewable energy (API-only; see [Embedding
|
or `greenpt/green-embeddings` (renewable energy), or `tinfoil/nomic-embed-text`
|
||||||
models](#embedding-models) below).
|
(TEE-protected — the model the co-op's own docs search runs on). API-only; see
|
||||||
|
[Embedding models](#embedding-models) below.
|
||||||
|
|
||||||
## Current models
|
## Current models
|
||||||
|
|
||||||
@@ -177,27 +178,31 @@ curl https://gateway.inference.coop/v1/chat/completions \
|
|||||||
Embeddings turn text into a numeric vector — the input to semantic search,
|
Embeddings turn text into a numeric vector — the input to semantic search,
|
||||||
clustering and RAG. They're called on `/v1/embeddings` with your co-op API key
|
clustering and RAG. They're called on `/v1/embeddings` with your co-op API key
|
||||||
and are **not chat models**: they never appear in the chat picker, the API is
|
and are **not chat models**: they never appear in the chat picker, the API is
|
||||||
the interface (the same shape as the audio models above).
|
the interface (the same shape as the audio models above). You choose between
|
||||||
|
them the same way as for chat: a TEE-protected option (Tinfoil) or
|
||||||
|
renewable-energy options (GreenPT).
|
||||||
|
|
||||||
| Model | Provider | Privacy | Green | Dimensions | Max input | Pricing |
|
| Model | Provider | Privacy | Green | Dimensions | Max input | Pricing |
|
||||||
|---|---|---|---|---|---|---|
|
|---|---|---|---|---|---|---|
|
||||||
|
| `🌱 greenpt/green-embeddings` | GreenPT | policy | ✅ 100% renewable | 2560 (measured) | 32K tokens (per GreenPT's catalog) | $0.20 / 1M input tokens (no output charge) |
|
||||||
| `🌱 greenpt/qwen3-embedding-8b` | GreenPT | policy | ✅ 100% renewable | 4096 (measured) | 32K tokens (per GreenPT's catalog) | $0.25 / 1M input tokens (no output charge) |
|
| `🌱 greenpt/qwen3-embedding-8b` | GreenPT | policy | ✅ 100% renewable | 4096 (measured) | 32K tokens (per GreenPT's catalog) | $0.25 / 1M input tokens (no output charge) |
|
||||||
|
| `🔒 tinfoil/nomic-embed-text` | Tinfoil | **architectural (TEE)** | — (mix not disclosed) | 768 (measured) | 8K tokens (per Tinfoil's catalog) | $0.016 / 1M input tokens (no output charge) |
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://gateway.inference.coop/v1/embeddings \
|
curl https://gateway.inference.coop/v1/embeddings \
|
||||||
-H "Authorization: Bearer ***" \
|
-H "Authorization: Bearer ***" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"model": "greenpt/qwen3-embedding-8b", "input": "the text to embed"}'
|
-d '{"model": "tinfoil/nomic-embed-text", "input": "the text to embed"}'
|
||||||
```
|
```
|
||||||
|
|
||||||
The response is standard OpenAI shape: `data[0].embedding` holds the vector,
|
The response is standard OpenAI shape: `data[0].embedding` holds the vector,
|
||||||
and `usage.prompt_tokens` is what meters against your allowance at the rate
|
and `usage.prompt_tokens` is what meters against your allowance at the rate
|
||||||
above. Embeddings bill input tokens only — there is no output charge.
|
above. Embeddings bill input tokens only — there is no output charge.
|
||||||
|
|
||||||
For completeness: Tinfoil also serves a private embedding model
|
Vectors from different models are not interchangeable — pick one per search
|
||||||
(`nomic-embed-text`), but it is **operator-only** — the co-op runs its own docs
|
index and stay with it (re-index if you switch). All three are callable with a
|
||||||
search on it inside the TEE, and member keys cannot call it.
|
member key; for reference, the co-op's own documentation search runs on
|
||||||
`greenpt/qwen3-embedding-8b` above is the member-facing embedding model.
|
`tinfoil/nomic-embed-text` inside the TEE.
|
||||||
|
|
||||||
### Image generation
|
### Image generation
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user