Skip to content

Commit 8a94bdd

Browse files
committed
Update to Gemini 3.1 models
- Update README: Gemini 2.5 → Gemini 3.1 - Add google/gemini-3.1-pro-preview (/ per 1M tokens) - Add google/gemini-3-flash-preview (/bin/zsh.50/ per 1M tokens) - Add google/gemini-2.5-flash-lite (/bin/zsh.10//bin/zsh.40 per 1M tokens) - Update smartChat example to use gemini-2.5-flash-lite
1 parent 0e96026 commit 8a94bdd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @blockrun/llm
22

3-
Pay-per-request access to GPT-4o, Claude 4, Gemini 2.5, and more via x402 micropayments on Base and Solana.
3+
Pay-per-request access to GPT-4o, Claude 4, Gemini 3.1, and more via x402 micropayments on Base and Solana.
44

55
**Networks:**
66
- **Base Mainnet:** Chain ID 8453 - Production with real USDC
@@ -95,9 +95,11 @@ For Solana, set `BLOCKRUN_SOLANA_KEY` environment variable with your base58-enco
9595
### Google Gemini
9696
| Model | Input Price | Output Price |
9797
|-------|-------------|--------------|
98-
| `google/gemini-3-pro-preview` | $2.00/M | $12.00/M |
98+
| `google/gemini-3.1-pro-preview` | $2.00/M | $12.00/M |
99+
| `google/gemini-3-flash-preview` | $0.50/M | $3.00/M |
99100
| `google/gemini-2.5-pro` | $1.25/M | $10.00/M |
100101
| `google/gemini-2.5-flash` | $0.30/M | $2.50/M |
102+
| `google/gemini-2.5-flash-lite` | $0.10/M | $0.40/M |
101103

102104
### DeepSeek
103105
| Model | Input Price | Output Price |

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class LLMClient {
176176
* ```ts
177177
* const result = await client.smartChat('What is 2+2?');
178178
* console.log(result.response); // '4'
179-
* console.log(result.model); // 'google/gemini-2.5-flash'
179+
* console.log(result.model); // 'google/gemini-2.5-flash-lite'
180180
* console.log(result.routing.savings); // 0.78 (78% savings)
181181
* ```
182182
*

0 commit comments

Comments
 (0)