Runs live, versioned Python application objects on one VM, with a suite of apps: projects, notes, tasks, files and more.

0 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-object-server.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-object-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-object-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 signup: the person chooses the password and name on the confirm page 83c7aa6 2 weeks, 5 days ago History
ai_prices.json · 1.6 KB · 66 lines
1{
2 "name": "ai_prices",
3 "title": "AI Model Prices",
4 "version": 1,
5 "description": "Per-model provider pricing for AI chat cost recording. Editable live like any other record -- object_ai never hardcodes a price table, so a stale entry here is a data-entry fix, not a code change.",
6 "fields": [
7 {
8 "name": "id"
9 },
10 {
11 "name": "provider",
12 "type": "text",
13 "required": true,
14 "label": "Provider",
15 "help": "anthropic, openai, ..."
16 },
17 {
18 "name": "model",
19 "type": "text",
20 "required": true,
21 "label": "Model"
22 },
23 {
24 "name": "input_per_million_cents",
25 "type": "int",
26 "required": true,
27 "label": "Input cents / 1M tokens",
28 "help": "Integer cents only -- never a float for money"
29 },
30 {
31 "name": "output_per_million_cents",
32 "type": "int",
33 "required": true,
34 "label": "Output cents / 1M tokens",
35 "help": "Integer cents only -- never a float for money"
36 },
37 {
38 "name": "effective_date",
39 "type": "date",
40 "required": true,
41 "label": "Effective Date",
42 "help": "When this price took effect; lookups use the most recent row for a (provider, model) pair"
43 }
44 ],
45 "forms": {
46 "default": {
47 "fields": [
48 "provider",
49 "model",
50 "input_per_million_cents",
51 "output_per_million_cents",
52 "effective_date"
53 ]
54 }
55 },
56 "views": {
57 "list_mode": "table",
58 "list_fields": [
59 "provider",
60 "model",
61 "input_per_million_cents",
62 "output_per_million_cents",
63 "effective_date"
64 ]
65 }
66}